super basic UI constraint and alignment system with a super basic "game framework"

This commit is contained in:
2023-11-21 02:52:15 +02:00
parent 129e038c19
commit 3f840fcad7
20 changed files with 989 additions and 414 deletions
+11
View File
@@ -0,0 +1,11 @@
#version 330 core
layout (location = 0) in vec4 vertex;
out vec2 TexCoords;
uniform mat4 projection;
uniform mat4 model;
void main() {
gl_Position = projection * model * vec4(vertex.xy, 0.0, 1.0);
TexCoords = vertex.zw;
}