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.
After doing above how to rest the position to draw a new cube?glTranslatef(0, 1, 0);
glColor4f(0.3, 0.3, 0.3, 0.3 );
glutSolidCube(2);
Actually by calling
I could do that.glTranslatef(0, -1, 0);
Instead any inbuild method for resetting?
I mean resetting colors, position ,etc...