Added getAspectRatio()

This commit is contained in:
2026-01-28 22:43:26 +01:00
parent c147647ff7
commit d23619ad9e
2 changed files with 4 additions and 4 deletions

View File

@@ -71,9 +71,9 @@ namespace DREAM {
return GetScreenHeight(); return GetScreenHeight();
} }
// float Window::getAspectRatio() { float Window::getAspectRatio() {
// return GetScreen return static_cast<float>(m_width) / static_cast<float>(m_height);
// } }
bool Window::isFullscreen() { bool Window::isFullscreen() {
return m_fullscreen; return m_fullscreen;

View File

@@ -27,7 +27,7 @@ namespace DREAM {
int getWidth(); int getWidth();
int getHeight(); int getHeight();
// float getAspectRatio(); float getAspectRatio();
bool isFullscreen(); bool isFullscreen();
bool isVSyncEnabled(); bool isVSyncEnabled();