Solution to the gimbal lock!!!

BlitzMax Modules Forums/MiniB3D/Solution to the gimbal lock!!!

Totally correct.
But Qimmer was suggesting to directly add the individual components of the euler angles (Pitch/Yaw/Roll), which is totally different (and incorrect).
With Quaternions, one would convert the euler angles to Quaternions, compose them, and convert back the result to Euler angles.