Quaternions are one of at least two ways to model rotations in a 3D space. Most people are familiar ... In addition, Euler angles are prone to gimbal lock where two of the axes are parallel ...