#version 330 core layout(location = 0) in vec3 apos; uniform mat4 model; void main(void) { gl_Position = model*vec4(apos, 1.0); }