summaryrefslogtreecommitdiff
path: root/examples/input/ex_input.c
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-30 23:14:39 +1100
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-30 23:14:39 +1100
commitc20740ecbb008afbe93c7fa1eb35851cedc6eb42 (patch)
treec6d6542190793b2ab7103c910471b5af7443d2ff /examples/input/ex_input.c
parent2c55e9a73ae1321c14f5186ecc75ac949ad19bbd (diff)
vulkan glossary
Diffstat (limited to 'examples/input/ex_input.c')
-rw-r--r--examples/input/ex_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/input/ex_input.c b/examples/input/ex_input.c
index 4bbf76a..7ead3ec 100644
--- a/examples/input/ex_input.c
+++ b/examples/input/ex_input.c
@@ -12,7 +12,7 @@
typedef struct game_state {
camera camera;
vec3 camera_euler;
- bool first_mouse_update;
+ bool first_mouse_update; // so the camera doesnt lurch when you run the first process_camera_rotation
} game_state;
void update_camera_rotation(input_state* input, game_state* game, camera* cam);