I am attempting to animate a paddle in a warlords kind of game.here is the code I am using.
void PaddleLeft()
{
glColor3f(1.0f,0.0f,0.0f);
glRectf(-125.0f-left,55.0f,-95.0f-left,45.0f);
glutSwapBuffers();
left+=1.0f;
}
I will also do more research.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement