From 324b85b0cc688f85a91e84b0b6d6a0378a79bea3 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 8 Apr 2011 21:35:34 +0200 Subject: Fix TAB: Replace all TAB with 4 spaces --- .../com/jogamp/graph/curve/RegionFactory.java | 36 +++++++++++----------- 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'src/jogl/classes/com/jogamp/graph/curve/RegionFactory.java') diff --git a/src/jogl/classes/com/jogamp/graph/curve/RegionFactory.java b/src/jogl/classes/com/jogamp/graph/curve/RegionFactory.java index d3b978b8a..91bbbd787 100755 --- a/src/jogl/classes/com/jogamp/graph/curve/RegionFactory.java +++ b/src/jogl/classes/com/jogamp/graph/curve/RegionFactory.java @@ -41,22 +41,22 @@ import jogamp.graph.curve.opengl.VBORegion2PES2; * @see Region */ public class RegionFactory { - - /**Create a Region based on the GLContext attached - * @param context the current {@link GLContext} - * @param st the {@link ShaderState} object - * @param type can be one of Region.SINGLE_PASS or Region.TWO_PASS - * @return region - */ - public static Region create(GLContext context, ShaderState st, int type){ - if( !context.isGL2ES2() ) { - throw new GLException("At least a GL2ES2 GL context is required. Given: " + context); - } - if( Region.TWO_PASS == type ){ - return new VBORegion2PES2(context, st); - } - else{ - return new VBORegionSPES2(context); - } - } + + /**Create a Region based on the GLContext attached + * @param context the current {@link GLContext} + * @param st the {@link ShaderState} object + * @param type can be one of Region.SINGLE_PASS or Region.TWO_PASS + * @return region + */ + public static Region create(GLContext context, ShaderState st, int type){ + if( !context.isGL2ES2() ) { + throw new GLException("At least a GL2ES2 GL context is required. Given: " + context); + } + if( Region.TWO_PASS == type ){ + return new VBORegion2PES2(context, st); + } + else{ + return new VBORegionSPES2(context); + } + } } -- cgit v1.2.3