12 lines
207 B
Plaintext
Raw Normal View History

2021-05-18 19:01:18 +02:00
#version 330 core
layout (location = 0) in vec3 aPos;
2021-05-18 19:01:18 +02:00
uniform mat4 projection;
uniform mat4 view;
2021-05-19 03:35:23 +02:00
uniform mat4 transform;
2021-05-18 19:01:18 +02:00
void main()
{
gl_Position = projection * view * transform * vec4(aPos, 1.0);
2021-05-18 19:01:18 +02:00
}