11 Commits

Author SHA1 Message Date
Josh Holtrop
097feecbb7 fix near and far value in glOrtho() 2011-04-30 11:25:17 -04:00
Josh Holtrop
4a7a97236b actually using the program we made is helpful 2011-04-30 09:54:04 -04:00
Josh Holtrop
d3c509e966 explicitly bind generic attribute locations 2011-04-30 09:49:23 -04:00
Josh Holtrop
2f57ba687c specify vertex attributes and draw triangles 2011-04-30 09:32:38 -04:00
Josh Holtrop
d76fb43a3c add makeBuffer() and triangle data 2011-04-30 09:08:58 -04:00
Josh Holtrop
9a0ffa8cbe kinda forgot the point of loadFile() 2011-04-29 17:24:01 -04:00
Josh Holtrop
c6e51524e9 create and link program, add getProgramLog() 2011-04-28 19:44:04 -04:00
Josh Holtrop
5a1fed9a41 load and compile shaders 2011-04-28 18:47:06 -04:00
Josh Holtrop
ba2c1d9c60 set up modelview matrix, bigger window 2011-04-28 17:52:07 -04:00
Josh Holtrop
13cb39e79e retabbed 2011-04-27 22:30:03 -04:00
Josh Holtrop
e32f283aad add initial GLSL template 2011-04-27 22:25:02 -04:00