diff options
Diffstat (limited to 'sdl/glframe.c')
-rw-r--r-- | sdl/glframe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdl/glframe.c b/sdl/glframe.c index c61f651..e9cb7c5 100644 --- a/sdl/glframe.c +++ b/sdl/glframe.c @@ -69,7 +69,7 @@ void glframe_apply_camera_transform(GLFrame *frame) glframe_get_camera_orientation(frame, m); glMultMatrixf(m); - /* if Rotation only, then do not do the translation */ + /* if rotation only, then do not do the translation */ if (!rot_only) glTranslatef(-frame->v_location[0], -frame->v_location[1], -frame->v_location[2]); @@ -84,7 +84,7 @@ void glframe_apply_camera_transform(GLFrame *frame) void glframe_move_forward(GLFrame *frame, float delta) { - // Move along direction of front direction + /* move along direction of front direction */ frame->v_location[0] += frame->v_forward[0] * delta; frame->v_location[1] += frame->v_forward[1] * delta; frame->v_location[2] += frame->v_forward[2] * delta; |