1 2 3 4 5 6 7 8 9 10 11
#version 330 core in vec3 position; uniform mat4 proj; uniform mat4 view; uniform mat4 model; void main() { gl_Position = proj * view * model * vec4(position, 1.0); }