diff options
| author | Aaditya Dhruv <[email protected]> | 2026-01-28 14:20:23 -0600 |
|---|---|---|
| committer | Aaditya Dhruv <[email protected]> | 2026-01-28 14:20:23 -0600 |
| commit | 17d2d2589694030f79f2a37732d72d4e433fd745 (patch) | |
| tree | 918cc9f51276c7401c273fe05ad12d10edfaa40f /src/block.h | |
| parent | 77dddef4153688218bec0b50f547622daa18903d (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/block.h')
| -rw-r--r-- | src/block.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/block.h b/src/block.h index 4c308d4..1da88ac 100644 --- a/src/block.h +++ b/src/block.h @@ -10,8 +10,6 @@ struct block { GLuint _ebo; int _vertex_count; mat4 model; - mat4 view; - mat4 perspective; float angle; }; int block_init(vec3 pos, struct block* blk); |
