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/CDTriangulator2D.java2
-rw-r--r--src/jogl/classes/jogamp/graph/curve/tess/Loop.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/jogamp/graph/curve/tess/CDTriangulator2D.java b/src/jogl/classes/jogamp/graph/curve/tess/CDTriangulator2D.java
index 331116f7e..defb26e77 100644
--- a/src/jogl/classes/jogamp/graph/curve/tess/CDTriangulator2D.java
+++ b/src/jogl/classes/jogamp/graph/curve/tess/CDTriangulator2D.java
@@ -182,7 +182,7 @@ public class CDTriangulator2D implements Triangulator {
final Triangle t;
final boolean holeLike;
- if(VectorUtil.ccw(v0,v1,v2)) {
+ if(VectorUtil.isCCW(v0,v1,v2)) {
holeLike = false;
t = new Triangle(v0, v1, v2, boundaryVertices);
} else {
diff --git a/src/jogl/classes/jogamp/graph/curve/tess/Loop.java b/src/jogl/classes/jogamp/graph/curve/tess/Loop.java
index 1d8264607..155fbd18d 100644
--- a/src/jogl/classes/jogamp/graph/curve/tess/Loop.java
+++ b/src/jogl/classes/jogamp/graph/curve/tess/Loop.java
@@ -253,7 +253,7 @@ public class Loop {
private HEdge findClosestValidNeighbor(final HEdge edge, final boolean delaunay) {
final HEdge next = root.getNext();
- if(!VectorUtil.ccw(root.getGraphPoint().getPoint(), next.getGraphPoint().getPoint(),
+ if(!VectorUtil.isCCW(root.getGraphPoint().getPoint(), next.getGraphPoint().getPoint(),
edge.getGraphPoint().getPoint())){
return null;
}