oframe / ogl

Minimal WebGL Library
https://oframe.github.io/ogl/examples
3.77k stars 213 forks source link

Fix mobile rotation issue #192

Open SeiyaCooper opened 1 year ago

SeiyaCooper commented 1 year ago

Fixed an issue where the target would rotate at an unexpected angle after zooming when using OribtControl on mobile devices. This is because the touch start position need to be updated after someone zoomed the target.