a bit of fiddling to support different resolutions (as long as aspect ratio of window is 1:1)

This commit is contained in:
2024-07-31 14:02:23 +01:00
parent d90ed8afa2
commit a2c499c933
5 changed files with 16 additions and 14 deletions

View File

@@ -1,5 +1,8 @@
structure Constants =
struct
val windowWidth = 900
val windowHeight = 900
val graphVertexShaderString =
"#version 300 es\n\
\layout (location = 0) in vec2 apos;\n\