Complete hello triangle program but with GLAD instead of GLEW

This commit is contained in:
2024-09-08 14:03:29 -04:00
commit 23bc471bc2
7 changed files with 5593 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
#version 320 es
out mediump vec4 FragColor;
void main(){ FragColor = vec4(0.0f, 0.5f, 0.25f, 1.0f);}

View File

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