Need bulletproof angle extraction from matrix!

Blitz3D Forums/Blitz3D Programming/Need bulletproof angle extraction from matrix!

I know about ATan, and as you can see from the code I'm not using ATan to extract the Pitch. I'm thinking I need to convert the matrix to quaternion first, and then to Euler angles to get a reliable result...

Fredborg