1 2 3 4 5 6 7 8
#version 330 core layout (location = 0) in vec2 aPos; uniform mat4 transform; void main() { gl_Position = transform * vec4(aPos.x, aPos.y, 0.0, 1.0); }