summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/graph/curve/tess
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2011-03-29 00:55:33 +0300
committerRami Santina <[email protected]>2011-03-29 00:55:33 +0300
commitc0eb49806a35c0618af8a61c99ba783d688fc09d (patch)
tree3abb3801f0ab97ee117e9053e6ffc148e0bcadc8 /src/com/jogamp/graph/curve/tess
parentb3d8f3548b608603b3c7fd1a03c1ebbffb95cb8b (diff)
Add debug flag for boundary tri
Diffstat (limited to 'src/com/jogamp/graph/curve/tess')
-rw-r--r--src/com/jogamp/graph/curve/tess/CDTriangulator2D.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/jogamp/graph/curve/tess/CDTriangulator2D.java b/src/com/jogamp/graph/curve/tess/CDTriangulator2D.java
index 00c97d463..2a1b52b1c 100644
--- a/src/com/jogamp/graph/curve/tess/CDTriangulator2D.java
+++ b/src/com/jogamp/graph/curve/tess/CDTriangulator2D.java
@@ -177,7 +177,9 @@ public class CDTriangulator2D <T extends Vertex> {
}
t.setId(maxTriID++);
triangles.add(t);
-
+ if(DEBUG){
+ System.err.println(t);
+ }
if(hole || holeLike) {
v0.setTexCoord(0, -0.1f);
v2.setTexCoord(1, -0.1f);