Hi
I am totally new to opengl.
I am in a question of how to reset the position after applying it a time.
ex - I am using following code to draw a cube.
Use glPushMatrix before the first translation, then glPopMatrix after drawing the first cube, to go back to the transformation saved by push matrix. This works for transformation matrices only (ie. rotation, translation, scaling, shear, etc).