summaryrefslogtreecommitdiff
path: root/src/camera.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-27 17:07:03 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-27 17:07:03 +1000
commit93c8d40b39fe55a626e66d412450fb4cca1f993b (patch)
treec064a1729404100ea6bfa62c0960442a17791fdb /src/camera.h
parentfc35df8e999521b8be7c44800f4ff4665df3254a (diff)
scene thoughts
Diffstat (limited to 'src/camera.h')
-rw-r--r--src/camera.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/camera.h b/src/camera.h
index f7bc6eb..ec867c5 100644
--- a/src/camera.h
+++ b/src/camera.h
@@ -24,4 +24,11 @@ camera camera_create(vec3 pos, vec3 front, vec3 up, f32 fov);
/** @brief get a 4x4 transform matrix for the view and perspective projection */
void camera_view_projection(camera *c, f32 screen_height, f32 screen_width, mat4 *out_view,
- mat4 *out_proj); \ No newline at end of file
+ mat4 *out_proj);
+
+// TODO: Basic reusable camera controls
+/*
+Right click + move = pan
+Left click = orbit camera
+WASD = forward/backward/left/right
+*/ \ No newline at end of file