I wonder if it is possible to express two glRotate in one glRotate?
I am working on a program that the curretn rotation angle and axis are
displayed as a user rotate an object in any direction.
I am using glRotatef( angle, x, y, z) to rotate an object.
But if an object is rotated more than once in any random direction,
how can I calculate the angle and axis values?
For example, a user rotate an object 90 deg. about x axis and then
rotate 90 deg. about z. axis, is it possible to express these two
rotations in a single glRotate function?
Thanks in advance,