OpenGl : Finding out your current position
Right imagine your at 0,1,0 or even a cube is. You then rotate 45% (glRotatef), then you move that object forward (glTranslate 0,0,10) so you move that object 10 forward.
How do you then get that objects position?
|