3 ms·
Also if you are wondering why the UI feels so horrible, it is because it is horrible. In particular, it does not feel as if you were spinning a globe with your
by romwell 7y ago
Also if you are wondering why the UI feels so horrible, it is because it is horrible.
In particular, it does not feel as if you were spinning a globe with your finger, because you need better math to do that: quaternions.
Play with this[1] and just feel how much better it is.
I tried to make the source understandable, but there are many, many, many other implementation of the Arcball interface out there. Find an explanation and code that you like and roll with that.
[1]http://romankogan.net/math/arcball_js/index.html http://romankogan.net/math/arcball_js/index.html