Using Quaternions for OpenGL Rotations [duplicate]
All you have done is effectively implement Euler angles with quaternions. That’s not helping. The problem with Euler angles is that, when you compute the matrices, each angle is relative to the rotation of the matrix that came before it. What you want is to take an object’s current orientation, and apply a rotation along … Read more