Graphics Engine is now part of the whole engine instead, Project will

actually compile #9
This commit is contained in:
2022-05-28 13:32:17 +02:00
parent 3446bc2399
commit dae8830e2b
27 changed files with 401 additions and 394 deletions

View File

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

View File

@ -0,0 +1,10 @@
#version 440 core
in layout(location=0) vec3 aPos;
uniform mat4 M;
uniform mat4 V;
uniform mat4 P;
void main() {
gl_Position = P * V * M * vec4(aPos.x, aPos.y, aPos.z, 1.0);
}