clean up the main App

This commit is contained in:
Mitchell Hashimoto
2022-04-03 20:39:32 -07:00
parent 3cb5dae9d8
commit 5bbdd75d70
4 changed files with 127 additions and 151 deletions

7
shaders/shape.f.glsl Normal file
View File

@@ -0,0 +1,7 @@
#version 330 core
out vec4 FragColor;
void main()
{
FragColor = vec4(1.0f, 0.5f, 0.2f, 1.0f);
}

7
shaders/shape.v.glsl Normal file
View File

@@ -0,0 +1,7 @@
#version 330 core
layout (location = 0) in vec3 aPos;
void main()
{
gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0);
}