diff options
Diffstat (limited to 'sdl/glframe.c')
-rw-r--r-- | sdl/glframe.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sdl/glframe.c b/sdl/glframe.c index b8b45d9..c61f651 100644 --- a/sdl/glframe.c +++ b/sdl/glframe.c @@ -8,7 +8,6 @@ */ #include "glframe.h" -#include "math3d.h" void glframe_reset(GLFrame *frame) { @@ -25,7 +24,7 @@ void glframe_reset(GLFrame *frame) frame->v_up[2] = 0.0f; } -/* get a 4x4 transformation matrix that describes the ccamera orientation */ +/* get a 4x4 transformation matrix that describes the camera orientation */ void glframe_get_camera_orientation(GLFrame *frame, M3DMatrix44f m) { M3DVector3f x, z; @@ -63,7 +62,7 @@ void glframe_get_camera_orientation(GLFrame *frame, M3DMatrix44f m) /* some of the code is unimplemented */ void glframe_apply_camera_transform(GLFrame *frame) { - /* XXX: rotation only, should passed in as a parameter */ + /* XXX: rotation only, should be passed in as a parameter */ int rot_only = 0; M3DMatrix44f m; @@ -95,7 +94,7 @@ void glframe_rotate_local_y(GLFrame *frame, float angle) { M3DMatrix44f rotMat; - /* just Rotate around the up vector */ + /* just rotate around the up vector */ /* create a rotation matrix around my Up (Y) vector */ m3dRotationMatrix44f(rotMat, angle, frame->v_up[0], frame->v_up[1], frame->v_up[2]); |