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