summaryrefslogtreecommitdiff
path: root/src/engine.h
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2026-01-28 14:20:23 -0600
committerAaditya Dhruv <[email protected]>2026-01-28 14:20:23 -0600
commit17d2d2589694030f79f2a37732d72d4e433fd745 (patch)
tree918cc9f51276c7401c273fe05ad12d10edfaa40f /src/engine.h
parent77dddef4153688218bec0b50f547622daa18903d (diff)
Add camera handling and movement
Camera related movements have been moved to camera.c - it tracks the matrices as well so we don't have to call it in block_update The player class is empty right now, but the camera will be a child of the player, and the player a child of the engine
Diffstat (limited to 'src/engine.h')
-rw-r--r--src/engine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine.h b/src/engine.h
index 7fde16f..2eb7518 100644
--- a/src/engine.h
+++ b/src/engine.h
@@ -6,6 +6,7 @@ struct engine {
struct window* window;
struct shader* shader;
struct vector* objects;
+ struct camera* camera;
int game_loop;
};