blob: e135d84352c93a0c44a12a7bebf48be0b21b1bb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#version 330 core
layout (location = 0) in vec3 position;
uniform mat4 model;
uniform mat4 view;
uniform mat4 projection;
void main()
{
gl_Position = projection * view * model * vec4(position.xyz, 1.0);
}
|