I have successfully implemented a trackball in java using the below two tutorials:
- http://nehe.gamedev.net/tutorial/arcball_rotation/19003
- http://www.java-tips.org/other-api-tips/jogl/arcball-rotation-nehe-tutorial-jogl-port.html
This trackball is centered at the screen center. Now, I wish to center it at any point on the screen. How can I incorporate the center logic in the existing code? How the normalization of mouse coordinates change due to introduction of center?