summaryrefslogtreecommitdiff
path: root/src/core/camera.h
diff options
context:
space:
mode:
authoromnisci3nce <omniscient.oce@gmail.com>2024-07-19 16:38:56 +1000
committeromnisci3nce <omniscient.oce@gmail.com>2024-07-19 16:38:56 +1000
commit6484c94d4efa391c4cefc9538b2ff74fa3207e00 (patch)
tree98b6f7c4ae864f2b935dbe40a1a4c3911ad437c1 /src/core/camera.h
parentefb2d293d5e849fc96e4e386d55a7611795561aa (diff)
fly camera
Diffstat (limited to 'src/core/camera.h')
-rw-r--r--src/core/camera.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/camera.h b/src/core/camera.h
index 7d2c7ed..450f81e 100644
--- a/src/core/camera.h
+++ b/src/core/camera.h
@@ -29,6 +29,10 @@ PUB Mat4 Camera_ViewProj(Camera* c, f32 lens_height, f32 lens_width, Mat4* out_v
/** @brief Get 2D camera transform matrix */
PUB Mat4 Camera_View2D(Camera* c); // TODO: 2D cameras
+struct Input_State;
+
+void Camera_Update(Camera* camera);
+
// TODO: (HIGH) Basic reusable camera controls
/*
Right click + move = pan