rendering

I have drawn two spaceships on the screen using gl_line_strip and they interact with the keyboard, the problem is they dont move at the same time,independetly of each other,the has something to do with the glClear(GL_COLOR_BUFFER_BIT)command,please let me know if you need sddtional information

Hi !

If you sue the depth buffer you should include that one also in the glClear command.

When it comes to moving the objects, make sure you have glPushMatrix()/glPopMatrix() around each transformation for the objects, by doing that each object will move without have any effect on the other objects.

Mikael