summaryrefslogtreecommitdiff
path: root/examples/input
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-30 23:16:53 +1100
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-30 23:16:53 +1100
commitb638fd776253fa0cb841175e3e134df4587101b6 (patch)
treeda511b43451a9b8a424bf85c6de6cfac9592b5bc /examples/input
parentf26f084958550cd01b9e4e4b098551520a4c6852 (diff)
fix main loop example
Diffstat (limited to 'examples/input')
-rw-r--r--examples/input/ex_input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/input/ex_input.c b/examples/input/ex_input.c
index 7ead3ec..0e72c16 100644
--- a/examples/input/ex_input.c
+++ b/examples/input/ex_input.c
@@ -12,7 +12,8 @@
typedef struct game_state {
camera camera;
vec3 camera_euler;
- bool first_mouse_update; // so the camera doesnt lurch when you run the first process_camera_rotation
+ 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);