2023-07-24 23:54:37 +02:00
|
|
|
#version 330 core
|
|
|
|
|
|
|
|
layout (location = 0) in vec3 aPos;
|
|
|
|
|
2023-07-31 23:30:35 +02:00
|
|
|
uniform mat4x4 _ModelViewProjectionMatrix;
|
|
|
|
|
2023-07-24 23:54:37 +02:00
|
|
|
void main()
|
|
|
|
{
|
2023-07-31 23:30:35 +02:00
|
|
|
vec4 pos = vec4(aPos.x, aPos.y, aPos.z, 1.0);
|
|
|
|
gl_Position = _ModelViewProjectionMatrix * pos;
|
2023-07-24 23:54:37 +02:00
|
|
|
}
|
|
|
|
|