From 78ef9bdf7ad5f1e78300208408572b9416c54578 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 31 Jul 2011 21:04:01 +0200 Subject: TAB -> SPACE --- .../classes/jogamp/graph/curve/opengl/shader/curverenderer02-xxx.fp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jogl/classes/jogamp') 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) { -- cgit v1.2.3