X-Git-Url: http://git.megacz.com/?p=anneal.git;a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fqfat%2Fgeom%2FPolygon.java;h=00458b2c0567210bf0e98528bad050dfb253a6fb;hp=2afa144596a2f60f9a4307bc0ca4939b97ba172f;hb=64c6939d78acfa06e7bc380cb713e3800bf16be5;hpb=de2400d58116bd995e73baf7a429e22def1e4067 diff --git a/src/edu/berkeley/qfat/geom/Polygon.java b/src/edu/berkeley/qfat/geom/Polygon.java index 2afa144..00458b2 100644 --- a/src/edu/berkeley/qfat/geom/Polygon.java +++ b/src/edu/berkeley/qfat/geom/Polygon.java @@ -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;