From e6dd773b249cbeb117a710a46133fa42f748f1d7 Mon Sep 17 00:00:00 2001 From: Sven Göthel Date: Mon, 12 Feb 2024 14:36:30 +0100 Subject: Loop.isValidNeighborDbg(): Remove DEBUG branch, always true --- src/jogl/classes/jogamp/graph/curve/tess/Loop.java | 12 ++++-------- 1 file 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(); } -- cgit v1.2.3