Removing B-ECS from BarinkEngine, Moving not really graphics related definitions outside the graphics folder, Moving Graphical primitives into a graphics primitives subfolder

This commit is contained in:
2022-10-22 15:36:28 +02:00
parent 23ac663667
commit e0e8de90b1
27 changed files with 15 additions and 75 deletions

View File

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