I need to get the cameras position in x,y and z coordinates. How can I get this information? I don’t find
any method for this.
I am programming a 3d space game. It is possible to move around in the 3d space with the arrow keys. glTranslatef and glRotatef calls moves the camera when the user wants to move. So the camera 's x,y and z coordinates is changed when the user presses the arrow keys.