Refactored folder structure

This commit is contained in:
antopilo
2025-01-31 18:04:43 -05:00
parent a4e7e7d530
commit 1f3a5e02af
313 changed files with 2350 additions and 674 deletions

View File

@@ -0,0 +1,29 @@
#shader vertex
#version 440 core
layout(location = 0) in vec3 VertexPosition;
uniform vec3 u_StartPos;
uniform vec3 u_EndPos;
uniform mat4 u_Projection;
uniform mat4 u_View;
uniform mat4 u_Model;
void main()
{
vec3 pos = mix(u_StartPos, u_EndPos, VertexPosition.x);
gl_Position = u_Projection * u_View * vec4(pos, 1.0f);
}
#shader fragment
#version 440 core
layout(location = 0) out vec4 FragColor;
uniform vec4 u_Color;
void main()
{
FragColor = u_Color;
}