You shouldn’t have worried. Rotating 90 degrees round Y then X have the same effect as rotating 90 degrees round Z then Y. The order in which you wrote your glRotate commands force OpenGL of rotating in the sequence Z,Y,X. Now if you calculate the three rotation matrices for an angle 90 degrees (and they are easy to carry out in this case) and multiply RxRy and RyRz you’ll find the same result .
[This message has been edited by softland_gh (edited 12-19-2000).]