aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes
diff options
context:
space:
mode:
authorSven Göthel <[email protected]>2024-02-12 14:36:30 +0100
committerSven Göthel <[email protected]>2024-02-12 14:36:30 +0100
commite6dd773b249cbeb117a710a46133fa42f748f1d7 (patch)
tree1287130210e17db0d2260b8432145d76b2a0e803 /src/jogl/classes
parentc4f14aa011c567b54667ed2209c2f48363998644 (diff)
Loop.isValidNeighborDbg(): Remove DEBUG branch, always true
Diffstat (limited to 'src/jogl/classes')
-rw-r--r--src/jogl/classes/jogamp/graph/curve/tess/Loop.java12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/jogl/classes/jogamp/graph/curve/tess/Loop.java b/src/jogl/classes/jogamp/graph/curve/tess/Loop.java
index 4961ce895..807a07b67 100644
--- a/src/jogl/classes/jogamp/graph/curve/tess/Loop.java
+++ b/src/jogl/classes/jogamp/graph/curve/tess/Loop.java
@@ -315,16 +315,12 @@ public class Loop {
final double v = VectorUtil.inCircleVec2dVal(root.getGraphPoint().getPoint(), next.getGraphPoint().getPoint(),
candPoint, egp.getPoint());
if( v > VectorUtil.InCircleDThreshold ) {
- if( CDTriangulator2D.DEBUG ) {
- System.err.printf("Loop.isInCircle.1: %30.30f: %s, of%n- %s%n- %s%n- %s%n",
- v, candPoint, root.getGraphPoint().getPoint(), next.getGraphPoint().getPoint(), egp.getPoint());
- }
- return null;
- }
- if( CDTriangulator2D.DEBUG ) {
- System.err.printf("Loop.isInCircle.0: %30.30f: %s, of%n- %s%n- %s%n- %s%n",
+ System.err.printf("Loop.isInCircle.1: %30.30f: %s, of%n- %s%n- %s%n- %s%n",
v, candPoint, root.getGraphPoint().getPoint(), next.getGraphPoint().getPoint(), egp.getPoint());
+ return null;
}
+ System.err.printf("Loop.isInCircle.0: %30.30f: %s, of%n- %s%n- %s%n- %s%n",
+ v, candPoint, root.getGraphPoint().getPoint(), next.getGraphPoint().getPoint(), egp.getPoint());
}
e = e.getNext();
}