#version 330 core layout(location = 0) in vec3 vert_pos; uniform vec3 col; uniform mat4 mvp; out vec3 frag_col; void main() { gl_Position = mvp * vec4(vert_pos, 1); frag_col = col; }