summaryrefslogtreecommitdiff
path: root/src/core/camera.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-27 17:40:29 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-27 17:40:29 +1000
commitbaa4f15774e2eb179a9b6ad6f3b781e0c3e85af3 (patch)
tree71c7cbc81f86d720e730c0d314b9b295d2f8141d /src/core/camera.h
parentaa0fe8457cfff9c47c0c9fa4a1c86a79c7cbf9c5 (diff)
remove the editor folder
Diffstat (limited to 'src/core/camera.h')
-rw-r--r--src/core/camera.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/camera.h b/src/core/camera.h
index 450f81e..536feca 100644
--- a/src/core/camera.h
+++ b/src/core/camera.h
@@ -15,7 +15,7 @@ typedef struct Camera {
} Camera;
/** @brief create a camera */
-Camera Camera_Create(Vec3 pos, Vec3 front, Vec3 up, f32 fov);
+PUB Camera Camera_Create(Vec3 pos, Vec3 front, Vec3 up, f32 fov);
/**
* @brief Get 3D camera transform matrix
@@ -31,7 +31,7 @@ PUB Mat4 Camera_View2D(Camera* c); // TODO: 2D cameras
struct Input_State;
-void Camera_Update(Camera* camera);
+PUB void FlyCamera_Update(Camera* camera);
// TODO: (HIGH) Basic reusable camera controls
/*