Minor update - viewport window tweak

This commit is contained in:
2025-01-29 19:31:12 +01:00
parent 151ea9b191
commit 452e84aa16
6 changed files with 101 additions and 108 deletions

View File

@@ -120,6 +120,7 @@ public:
void SetWindowSize(ImVec2 size) { windowSize = size; };
ImVec2 GetWindowSize() const { return windowSize; };
float GetAspectRatio() const { return (float)m_screenWidth / (float)m_screenHeight; };
Physics* GetPhysics() const { return m_Physics; };