Mostly complete from the Python original

This commit is contained in:
Matt Keeter 2014-03-03 21:14:16 -05:00
commit 97cf902b87
18 changed files with 527 additions and 0 deletions

13
src/gl/mesh.vert Normal file
View file

@ -0,0 +1,13 @@
#version 120
attribute vec3 vertex_position;
uniform mat4 transform_matrix;
uniform mat4 view_matrix;
varying vec3 ec_pos;
void main() {
gl_Position = view_matrix*transform_matrix*
vec4(vertex_position, 1.0);
ec_pos = gl_Position.xyz;
}