checkpoint
[anneal.git] / src / edu / berkeley / qfat / Main.java
index 0c8c271..12a82fc 100644 (file)
@@ -86,12 +86,12 @@ public class Main extends MeshViewer {
         float halfup = 0;
 
         translations = new Matrix[] {
-            /*
+
             Matrix.translate(new Vec(lshift,  depth,    halfup)),
             Matrix.translate(new Vec(rshift,  depth,    halfup)),
             Matrix.translate(new Vec(lshift, -depth,    halfup)),
             Matrix.translate(new Vec(rshift, -depth,    halfup)),
-            */
+
             /*
               Matrix.translate(new Vec(0,  depth,    halfup)),
               Matrix.translate(new Vec(0, -depth,    halfup)),
@@ -281,7 +281,8 @@ public class Main extends MeshViewer {
             Mesh.E e = es.poll();
             verts++;
             //System.out.println("shatter " + e);
-            e.shatter();
+            //e.shatter(e.midpoint(), null, null, true, true);
+            e.shatter(e.midpoint(), null, null, true, false);
             Thread.yield();
             repaint();
         }