husker-dev / openglfx

OpenGL implementation for JavaFX
Apache License 2.0
80 stars 10 forks source link

Possibility to flip Y axis #40

Closed qq1053831109 closed 8 months ago

qq1053831109 commented 9 months ago

The picture is reversed. It's best to rotate this here in openglfx

husker-dev commented 9 months ago

This is already implemented in the current version of the code, which is awaiting release in near future

husker-dev commented 9 months ago

Just a note how to use it:

val canvas = OpenGLCanvas.create(LWJGL_MODULE, flipY = true)

flipY = false (default) is equal to simple OpenGL output as it made in GLFW. So, flipY = true is equivalent to the current behaviour in version 3.0.5