summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-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);