summaryrefslogtreecommitdiffstats
path: root/src/view/default.vs
blob: 7c4eaeb4be1537358a79c2de140a0ebf9f175155 (plain)
1
2
3
4
5
6
7
8
attribute vec2 vertexPos;

uniform mat4 viewport;
uniform mat4 translate;

void main(void) {
	gl_Position = viewport * translate * vec4(vertexPos, 0.0, 1.0);
}