summaryrefslogtreecommitdiff
path: root/examples/input
diff options
context:
space:
mode:
Diffstat (limited to 'examples/input')
-rw-r--r--examples/input/ex_input.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/input/ex_input.c b/examples/input/ex_input.c
index d3d1fbd..4bbf76a 100644
--- a/examples/input/ex_input.c
+++ b/examples/input/ex_input.c
@@ -79,8 +79,6 @@ void update_camera_rotation(input_state* input, game_state* game, camera* cam) {
game->first_mouse_update = false;
}
- printf("x offset: %f y offset %f\n", xoffset, yoffset);
-
float sensitivity = 0.1f; // change this value to your liking
xoffset *= sensitivity;
yoffset *= sensitivity;
@@ -107,7 +105,7 @@ void update_camera_rotation(input_state* input, game_state* game, camera* cam) {
// save it back
cam->front.x = front.x;
cam->front.y = front.y;
- // cam->front.z = front.z;
+ // roll is static
print_vec3(cam->front);
}