From 7993266efe2720205bb367ca107b125b7d74ab83 Mon Sep 17 00:00:00 2001 From: Jeremy Cowles Date: Tue, 5 Nov 2013 10:54:59 -0800 Subject: [PATCH] Added git ignore, minor index cleanup --- .gitignore | 1 + index.html | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1377554 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.swp diff --git a/index.html b/index.html index 9b52e89..38125df 100644 --- a/index.html +++ b/index.html @@ -111,7 +111,7 @@ } } gl_Position.xy += toff.xy; - gl_Position.z += depth; // * 2.*(1.-(r*.5)*(r*.5)); + gl_Position.z += depth; gl_Position = uPMatrix * uMVMatrix * gl_Position; } @@ -126,7 +126,7 @@ void main() { vec4 color; - vec3 q = vposition.xyz; /// vposition.w; + vec3 q = vposition.xyz; color = vec4(0.,0.,q.z,1.); gl_FragColor = color; } @@ -594,5 +594,5 @@ oncanplay="_audioReady = true;" onplaying="_soundtrack._startTime = new Date().getTime() - _soundtrack.currentTime*1000; Lab.accum('tick', tick)"> - +