2023-09-03 00:51:45 +03:00
|
|
|
#version 330 core
|
|
|
|
|
layout (location = 0) in vec3 aPos;
|
2023-09-08 16:38:14 +02:00
|
|
|
layout (location = 1) in vec2 aTexCoords;
|
|
|
|
|
out vec2 texCoords;
|
2023-09-03 00:51:45 +03:00
|
|
|
|
2023-09-04 01:57:39 +03:00
|
|
|
uniform mat4 transform;
|
|
|
|
|
|
2023-09-03 00:51:45 +03:00
|
|
|
void main() {
|
2023-09-04 01:57:39 +03:00
|
|
|
gl_Position = transform * vec4(aPos, 1.0f);
|
2023-09-08 16:38:14 +02:00
|
|
|
texCoords = aTexCoords;
|
2023-09-03 00:51:45 +03:00
|
|
|
}
|