12-14-2003, 04:01 AM
How can we rotate an object indipendently from previous rotations? I.e. how can we rotate a sphere? I tried:
glRotatef(anglex,1.0f,0.0f,0.0f);
glRotatef(angley,0.0f,1.0f,0.0f);
but It didn't work.
glRotatef(anglex,1.0f,0.0f,0.0f);
glRotatef(angley,0.0f,1.0f,0.0f);
but It didn't work.