Refactor in C++

This commit is contained in:
Phireh 2023-10-15 18:28:20 +02:00
commit abdd19f5e5
445 changed files with 68766 additions and 36566 deletions

11
shaders/text.vert Normal file
View file

@ -0,0 +1,11 @@
#version 330 core
layout (location = 0) in vec4 vertex; // <vec2 pos, vec2 tex>
out vec2 texuv;
uniform mat4 projection;
void main()
{
gl_Position = projection * vec4(vertex.xy, 0.0, 1.0);
texuv = vertex.zw;
}