ok i need to make some asteroids i have created in my program to rotate, and it needs to be animated rotation which is fairlt smooth.
i know one way to do it is to use the glrotatef command, however i have no idea how to impliment it into the following code.
this is just the command which calls the asteroid to the screen, and then randomly places it and then scales and draws it. however as i say i want to get my asteroids to do rotation, so far its not been animate drotation but just rotating it befores its drawn and then being draw to the screen.
can someone please help?