Stopping Translate

glTranslatef(0.0f,meteory,meteorz);

i’m using the above code to move an object
but it also moves all the objects created after this object.

Is there a way that i can stop this from happening??

do…

glPushMatrix();
glTranslatef(0.0f, y, z);

//render your object here.

glPopMatrix();

should sort it.

Nutty.

Or just go glLoadIdentity()

j

thanks.