summaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-10-08 01:24:11 +0200
committerSven Gothel <[email protected]>2011-10-08 01:24:11 +0200
commitda279187e375fdc87ed3a73480c5548602d3454e (patch)
tree71084ee8c67c3b861d82762dee15533c85bc4102 /src/test/com/jogamp
parent1ac5f46bb15c08b7126e22d10a80e6d607207780 (diff)
minor editing
Diffstat (limited to 'src/test/com/jogamp')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/gears.fp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/gears.fp b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/gears.fp
index 768e23b36..f41addad8 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/gears.fp
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/shader/gears.fp
@@ -32,8 +32,7 @@ void main()
if (lambertTerm > 0.0) {
float NdotHV;
/*
- vec3 halfDir;
- halfDir = normalize (lightDir + cameraDir);
+ vec3 halfDir = normalize (lightDir + cameraDir);
NdotHV = max(0.0, dot(normal, halfDir));
*/
vec3 E = normalize(-position.xyz);