diff options
author | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-19 16:38:56 +1000 |
---|---|---|
committer | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-19 16:41:04 +1000 |
commit | ff825f1e18860d5aa0c761496f1dc0670422715c (patch) | |
tree | bc88851579492007237b125b68811cef947397c0 /src/core/camera.h | |
parent | efb2d293d5e849fc96e4e386d55a7611795561aa (diff) |
fly camera
Diffstat (limited to 'src/core/camera.h')
-rw-r--r-- | src/core/camera.h | 4 |
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 |