added player camera rotation z axis

This commit is contained in:
MihailRis
2024-05-24 01:58:34 +03:00
parent 1917cbba8b
commit 0eba793d63
4 changed files with 23 additions and 10 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ public:
std::unique_ptr<Hitbox> hitbox;
bool debug = false;
voxel selectedVoxel {0, 0};
glm::vec2 cam {};
glm::vec3 cam {};
Player(glm::vec3 position, float speed, std::shared_ptr<Inventory> inv);
~Player();