How does this Quaternion rotation code work?
问题 I'm trying to understand how the quaternion rotations work, I found this mini tutorial http://www.julapy.com/blog/2008/12/22/quaternion-rotation/ but He makes some assumptions that I can't workout, like how can I do " work out the rotation vectors around each axis, simply by rotating the vector around an axis. " and how does he calculate angleDegreesX, angleDegreesY and angleDegreesZ? Can some one provide a working example or explanation? 回答1: The shortest possible summary is that a