Minor refactor

This commit is contained in:
MihailRis
2023-12-07 13:45:34 +03:00
parent 2055cff0be
commit 551b230b94
10 changed files with 30 additions and 22 deletions
+2 -2
View File
@@ -16,10 +16,10 @@ const float FLIGHT_SPEED_MUL = 4.0f;
const float CHEAT_SPEED_MUL = 5.0f;
const float JUMP_FORCE = 8.0f;
Player::Player(glm::vec3 position, float speed, Camera* camera) :
Player::Player(glm::vec3 position, float speed) :
speed(speed),
camera(camera),
choosenBlock(1) {
camera = new Camera(position, glm::radians(90.0f));
hitbox = new Hitbox(position, vec3(0.3f,0.9f,0.3f));
}