oframe / ogl

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

Fix mobile rotation issue #192

Open SeiyaCooper opened 8 months ago

SeiyaCooper commented 8 months 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.