Solution to the gimbal lock!!!

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

but thats the problem when converting back to euler angles again, because then the gimbal lock occurs .. but i tried to look at the coordinates returned by decomposing the quaternion rotated by the euler angles, and then the euler angles added together, and they are the same? why is my method incorrect then?