blob: 664cc73055b971213cc7266b95e07badd346e6bd (
plain)
1
2
3
4
5
6
7
8
9
|
uniform mat4 projection;
uniform mat4 modelview;
attribute vec3 vertex;
void main()
{
vec4 curVertex = vec4(vertex.x, vertex.y, vertex.z, 1.0);
gl_Position = projection * modelview * curVertex;
}
|