Introduction - If you have any usage issues, please Google them yourself
In the three-dimensional environments, the axis of rotation to achieve accurate three-dimensional rotation that is the right key. By changing the mouse position is converted to an auxiliary two-dimensional coordinate system in three young rotation axis and rotation angle of the shaft further in the world coordinate system representation, and using counter-rotating around the rotation axis observation point in the method implemented in OpenGL using the mouse to rotate three-dimensional scene any interactive features.