glRotatef()

Originally posted by simmosn:
however, when i rotate in any of the other axies, nothing. ie the following doesn’t do anything:
glRotatef(0.0, 0.0, 45.0, 1.0),

The first argument specifies how many degree you want to rotate around an axis. The following three argument specifiy the x, y, z axis to rotate, respectively. In that statement, you’re rotating the y and z axis 0 degrees. Thats why you don’t see any change. Also, the last three parameters are clamped to the range of [0, 1].