We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d8d115 + f3c10fb commit 8f2a75eCopy full SHA for 8f2a75e
src/main/kotlin/uno/glfw/GlfwWindow.kt
@@ -72,7 +72,7 @@ class GlfwWindow(val handle: Long) {
72
}
73
set(value) = glfwSetWindowSize(handle, value.x, value.y)
74
75
- val aspect get() = size.x / size.y.f
+ val aspect get() = size.aspect
76
// set(value) = glfwSetWindowAspectRatio(handle, (value * 1_000).i, 1_000)
77
78
var aspectRatio = Vec2i()
0 commit comments