summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/jogamp')
-rw-r--r--src/jogl/classes/jogamp/graph/curve/tess/GraphOutline.java2
-rw-r--r--src/jogl/classes/jogamp/graph/curve/tess/Loop.java5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/jogl/classes/jogamp/graph/curve/tess/GraphOutline.java b/src/jogl/classes/jogamp/graph/curve/tess/GraphOutline.java
index a0d1923a9..d1245f4b8 100644
--- a/src/jogl/classes/jogamp/graph/curve/tess/GraphOutline.java
+++ b/src/jogl/classes/jogamp/graph/curve/tess/GraphOutline.java
@@ -65,7 +65,7 @@ public class GraphOutline {
return controlpoints;
}
- public ArrayList<Vertex> getPoints() {
+ public ArrayList<Vertex> getVertices() {
return outline.getVertices();
}
diff --git a/src/jogl/classes/jogamp/graph/curve/tess/Loop.java b/src/jogl/classes/jogamp/graph/curve/tess/Loop.java
index 230bdad0e..acccea503 100644
--- a/src/jogl/classes/jogamp/graph/curve/tess/Loop.java
+++ b/src/jogl/classes/jogamp/graph/curve/tess/Loop.java
@@ -102,6 +102,7 @@ public class Loop {
if(vertices.size()<3) {
throw new IllegalArgumentException("outline's vertices < 3: " + vertices.size());
}
+ //final VectorUtil.Winding hasWinding = VectorUtil.getWinding(outline.getVertices());
final VectorUtil.Winding hasWinding = VectorUtil.getWinding(
vertices.get(0).getPoint(),
vertices.get(1).getPoint(),
@@ -110,9 +111,9 @@ public class Loop {
// skips inversion CW -> CCW ?
final boolean invert = hasWinding != reqWinding &&
reqWinding == VectorUtil.Winding.CW;
- /*if( hasWinding != reqWinding ) {
+ if( hasWinding != reqWinding ) {
System.err.println("Winding: i "+invert+" "+hasWinding+" -> "+reqWinding);
- }*/
+ }
final int max;
final int edgeType = reqWinding == VectorUtil.Winding.CCW ? HEdge.BOUNDARY : HEdge.HOLE ;