I am rotating the camera around itself (when the camera is located at (0,0,0)) using the following:
Code :glRotatef(x_camera_angle, 1.0, 0.0, 0.0); glRotatef(y_camera_angle, 0.0, 1.0, 0.0);
I now want to move the camera in the direction its looking. For example, I want to move the camera 5 units right and 3 units forward. How can this be done?
I've searched a lot and couldn't find a satisfying answer. Any help would be highly appreciated!