diff options
author | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-30 21:46:10 +1100 |
---|---|---|
committer | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-30 21:46:10 +1100 |
commit | 2c55e9a73ae1321c14f5186ecc75ac949ad19bbd (patch) | |
tree | 33a895539862b74cbad083df7dae603ce3737390 /examples/input/ex_input.c | |
parent | f7b91c2eae24ecb7a20b638246fb849d6c63615a (diff) |
chore: format
Diffstat (limited to 'examples/input/ex_input.c')
-rw-r--r-- | examples/input/ex_input.c | 4 |
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); } |