refactor: reduce Window references

This commit is contained in:
MihailRis 2025-03-06 15:32:58 +03:00
parent 896ab3597a
commit 74a94f869c
19 changed files with 151 additions and 155 deletions

View file

@ -16,4 +16,8 @@ public:
glm::ivec2 size() const {
return glm::ivec2(width, height);
}
float getRatio() const {
return width / static_cast<float>(height);
}
};