projects
/
opengl-haskell.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove redundant perspective' function
[opengl-haskell.git]
/
vertex.glsl
1
#version 330
2
in vec3 vPosition;
3
in vec4 vColor;
4
uniform mat4 model;
5
uniform mat4 view;
6
uniform mat4 projection;
7
out vec4 color;
8
9
void main() {
10
gl_Position = projection * view * model * vec4(vPosition, 1.f);
11
color = vColor;
12
}