refactor: reduce Window references

This commit is contained in:
MihailRis
2025-04-02 14:55:53 +03:00
parent 896ab3597a
commit 74a94f869c
19 changed files with 151 additions and 155 deletions
+2 -1
View File
@@ -5,6 +5,7 @@
class Camera {
float fov = 1.0f;
float ar = 0.0f;
public:
glm::vec3 front {};
glm::vec3 up {};
@@ -17,7 +18,6 @@ public:
glm::mat4 rotation {1.0f};
bool perspective = true;
bool flipped = false;
float aspect = 0.0f;
float near = 0.05f;
float far = 1500.0f;
@@ -37,4 +37,5 @@ public:
float getFov() const;
float getAspectRatio() const;
void setAspectRatio(float ar);
};