Hi,
one very basic question.
I need to rotate my tilted NURBS object on y-axis constantly.In my code, i use glRotatef twice to tilt the object and then to rotate it.
I also use the keyboard functions to start the rotation, simply by calling glutPostRedisplay.
The problem is that everytime i call the function, the program is rotating the object twice(tilting + rotating). I only want it to tilt it in the beginning and then keep rotating the object. it seems very simple, but somehow i can't get this to work!!!!!
To do this, what am I supposed to keep in mind? help, please~ Thanks!



