[EDIT] code style guide finished

This commit is contained in:
Menno
2021-05-18 12:43:22 +02:00
parent 41e02b0c39
commit 438b219d0a
17 changed files with 83 additions and 86 deletions

View File

@@ -8,7 +8,7 @@ namespace entities
class Camera
{
private:
float speed = 0.02f;
const float SPEED = 0.02f;
glm::vec3 position;
glm::vec3 rotation;
@@ -16,9 +16,9 @@ namespace entities
public:
Camera(const ::glm::vec3& position, const ::glm::vec3& rotation);
void move(GLFWwindow* window);
void Move(GLFWwindow* window);
inline glm::vec3 getPosition() const{ return position; }
inline glm::vec3 getRotation() const{ return rotation; }
inline glm::vec3 GetPosition() const{ return position; }
inline glm::vec3 GetRotation() const{ return rotation; }
};
}