diff options
Diffstat (limited to 'sdl/glframe.h')
-rw-r--r-- | sdl/glframe.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sdl/glframe.h b/sdl/glframe.h index 3842d7a..0fb5e58 100644 --- a/sdl/glframe.h +++ b/sdl/glframe.h @@ -6,8 +6,8 @@ typedef struct { M3DVector3f v_location; /* location */ - M3DVector3f v_forward; /* where am I heading */ - M3DVector3f v_up; /* which way is up */ + M3DVector3f v_forward; /* z, where am I heading */ + M3DVector3f v_up; /* y, which way is up */ } GLFrame; /* function prototypes */ @@ -16,6 +16,7 @@ void glframe_get_camera_orientation(GLFrame *, M3DMatrix44f); void glframe_apply_camera_transform(GLFrame *); void glframe_move_forward(GLFrame *, float); void glframe_rotate_local_y(GLFrame *, float); +void glframe_rotate_local_x(GLFrame *, float); #endif |