~ | Variable refactoring

This commit is contained in:
TheRedShip
2025-01-05 14:50:29 +01:00
parent 846efdd5c6
commit b9b7084a4f
6 changed files with 36 additions and 17 deletions

View File

@ -24,14 +24,16 @@ class Camera
void update(float deltaTime);
void process_mouse(float xoffset, float yoffset, bool constrainPitch);
void process_keyboard(bool forward, bool backward, bool left, bool right, bool up, bool down);
void processMouse(float xoffset, float yoffset, bool constrainPitch);
void processKeyboard(bool forward, bool backward, bool left, bool right, bool up, bool down);
glm::mat4 get_view_matrix();
glm::vec3 get_position();
glm::mat4 getViewMatrix();
glm::vec3 getPosition();
void setPosition(glm::vec3 position);
private:
void update_camera_vectors();
void updateCameraVectors();
glm::vec3 _position;
glm::vec3 _forward;