Cleanup & refactor

This commit is contained in:
Adrien Bourmault 2023-01-26 01:58:23 +01:00
parent ef901d4a48
commit a8ecb75b2d
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
2 changed files with 0 additions and 25 deletions

View File

@ -1,9 +0,0 @@
#version 330 core
in vec4 color;
out vec4 out_frag_color;
void main(void)
{
out_frag_color = color;
}

View File

@ -1,16 +0,0 @@
#version 330 core
uniform mat4 projection_matrix;
uniform mat4 model_matrix;
uniform mat4 view_matrix;
layout(location=0) in vec3 in_position;
layout(location=1) in vec3 in_color;
out vec4 color;
void main(void)
{
gl_Position = projection_matrix * view_matrix * model_matrix * vec4(in_position, 1);
color = vec4(1 * in_color.rgb, 1);
}