From ff825f1e18860d5aa0c761496f1dc0670422715c Mon Sep 17 00:00:00 2001 From: omnisci3nce Date: Fri, 19 Jul 2024 16:38:56 +1000 Subject: fly camera --- src/core/camera.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/camera.h') 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 -- cgit v1.2.3-70-g09d2