aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/graph/curve/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-05-05 13:07:42 +0200
committerSven Gothel <[email protected]>2011-05-05 13:07:42 +0200
commit59aa8737528743b83cf56b804c9d713bc325c97c (patch)
treecdc23f121d6b421de3fb210159048112a2516c1c /src/jogl/classes/com/jogamp/graph/curve/opengl
parent8578860e5f9f1b98651373accc53b0bfe6f07ba2 (diff)
Merging OutlineShape.VerticesState enum type (John Pritchard <[email protected]> https://github.com/syntelos/jogl/commit/05a7ec92d30e1e688b1eb7cc317cad83a0e8fd60#L0R59)
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph/curve/opengl')
-rw-r--r--src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java b/src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java
index 03a696f35..2d614d279 100644
--- a/src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java
+++ b/src/jogl/classes/com/jogamp/graph/curve/opengl/RegionRenderer.java
@@ -113,7 +113,7 @@ public abstract class RegionRenderer extends Renderer {
protected Region createRegion(GL2ES2 gl, OutlineShape outlineShape) {
Region region = RegionFactory.create(rs, renderType);
- outlineShape.transformOutlines(OutlineShape.QUADRATIC_NURBS);
+ outlineShape.transformOutlines(OutlineShape.VerticesState.QUADRATIC_NURBS);
ArrayList<Triangle> triangles = (ArrayList<Triangle>) outlineShape.triangulate();
ArrayList<Vertex> vertices = (ArrayList<Vertex>) outlineShape.getVertices();
region.addVertices(vertices);
@@ -133,7 +133,7 @@ public abstract class RegionRenderer extends Renderer {
int numVertices = region.getNumVertices();
for(OutlineShape outlineShape:outlineShapes){
- outlineShape.transformOutlines(OutlineShape.QUADRATIC_NURBS);
+ outlineShape.transformOutlines(OutlineShape.VerticesState.QUADRATIC_NURBS);
ArrayList<Triangle> triangles = outlineShape.triangulate();
region.addTriangles(triangles);