11 lines
204 B
Text
11 lines
204 B
Text
|
#version 330 core
|
||
|
|
||
|
uniform mat4 projection;
|
||
|
uniform mat4 view;
|
||
|
uniform mat4 model;
|
||
|
|
||
|
layout (location = 0) in vec3 vertices;
|
||
|
|
||
|
void main() {
|
||
|
gl_Position = projection * view * model * vec4(vertices, 1.0);
|
||
|
}
|