im drawing what is supposed to be a sawblade in the middle of a factory. I want my sawblade to sit in the same spot and rotate in a circular fashion.
im using glRotatef(angle, x, y, z); this is all in 2D.
the problem is when i specify an angle and a z value, it moves around the screen. I want it to stay put, and rotate in place. how do i get it to do this?
(im also displaying linear movement in this picture, and it works fine (using glTranslatef(x,y,z). I am getting fustrated with trying to get rotate to work!)