prepared for obj stuff

This commit is contained in:
Your Name
2018-12-17 14:22:23 +01:00
parent 170ff0e456
commit 06d489e0fe
7 changed files with 128 additions and 11 deletions

View File

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