PDA

View Full Version : Angles extraction from modelview matrix.



p_albatr
01-17-2002, 05:17 AM
Is any metod to extract an information about rotation angles from current modelview matrix? http://www.opengl.org/discussion_boards/ubb/confused.gif

Coconut
01-17-2002, 08:36 AM
Originally posted by p_albatr:
Is any metod to extract an information about rotation angles from current modelview matrix? http://www.opengl.org/discussion_boards/ubb/confused.gif

It depends on how your angles are defined.
Just express mathematically the matrix by angles, the equation isn't hard to solved.