2021-05-18 19:01:18 +02:00
|
|
|
#version 330 core
|
|
|
|
|
2021-05-18 21:18:26 +02:00
|
|
|
layout (location = 0) in vec3 aPos;
|
2021-05-18 19:01:18 +02:00
|
|
|
|
2021-05-19 17:59:05 +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()
|
|
|
|
{
|
2021-05-19 17:59:05 +02:00
|
|
|
gl_Position = projection * view * transform * vec4(aPos, 1.0);
|
2021-05-18 19:01:18 +02:00
|
|
|
}
|