checkpoint
[anneal.git] / src / edu / berkeley / qfat / geom / Polygon.java
index 2afa144..00458b2 100644 (file)
@@ -65,8 +65,8 @@ public final class Polygon {
         //centroid = new Point(round(centroid.x), round(centroid.y), round(centroid.z));
         if (segments.size() >= 3)
         for(Segment s : segments) {
-            System.out.println("newt! " + s.p1 + " " + centroid + " " + s.p2 + " " + plane.norm.times(-1));
-            mesh.newT(s.p1, centroid, s.p2, plane.norm.times(-1), 0);
+            System.out.println("newt! " + s.p1 + " " + centroid + " " + s.p2 + " " + plane.norm().times(-1));
+            mesh.newT(s.p1, centroid, s.p2, plane.norm().times(-1), 0);
         }
         System.out.println("done");
         return null;