aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-07-31 21:04:01 +0200
committerSven Gothel <[email protected]>2011-07-31 21:04:01 +0200
commit78ef9bdf7ad5f1e78300208408572b9416c54578 (patch)
tree3f1bcb5532bac694c3b319151c2d6ffcd63eb3d7
parent82f25e928a1abae1ae638ee82f45151c9ab59df9 (diff)
TAB -> SPACE
-rw-r--r--src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02-xxx.fp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02-xxx.fp b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02-xxx.fp
index 22936c3fb..ee061a95f 100644
--- a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02-xxx.fp
+++ b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer02-xxx.fp
@@ -70,7 +70,7 @@ void main (void)
GRAPHP vec2 dtx = dFdx(rtex);
GRAPHP vec2 dty = dFdy(rtex);
- GRAPHP float w = gcu_Weight;
+ GRAPHP float w = gcu_Weight;
GRAPHP float pd = ((2.0 - (2.0*w))*rtex.x*rtex.x) + 2.0*(w-1.0)*rtex.x + 1.0;
GRAPHP float position = rtex.y - ((w*rtex.x*(1.0 - rtex.x))/pd);
@@ -80,7 +80,7 @@ void main (void)
GRAPHP vec2 f = vec2((dtx.y - (w*dtx.x*(1.0 - 2.0*rtex.x))/gd), (dty.y - (w*dty.x*(1.0 - 2.0*rtex.x))/gd));
GRAPHP float d = position/(length(f));
- GRAPHP float a = (0.5 - d * sign(gcv_TexCoord.y));
+ GRAPHP float a = (0.5 - d * sign(gcv_TexCoord.y));
if (a >= 1.0) {
alpha = gcu_Alpha;
} else if (a <= 0.0) {