checkpoint
[anneal.git] / src / edu / berkeley / qfat / MeshViewer.java
index fc17683..f869aac 100644 (file)
@@ -18,12 +18,12 @@ public class MeshViewer implements GLEventListener, MouseListener, MouseMotionLi
     public Mesh.Vert[] points;
 
 
-    public boolean tileon = false;
+    public boolean tileon = true;
     public boolean tilemeshon = false;
-    public boolean goalon = true;
-    public boolean anneal = false;
+    public boolean goalon = false;
+    public boolean anneal = true;
 
-    public boolean breaks = false;
+    public int breaks = 0;
     boolean alt = false;
     boolean shift = false;
     boolean control = false;
@@ -38,7 +38,7 @@ public class MeshViewer implements GLEventListener, MouseListener, MouseMotionLi
             case KeyEvent.VK_CONTROL: control = true; break;
             case KeyEvent.VK_ALT: alt = true; break;
             case KeyEvent.VK_SHIFT: shift = true; break;
-            case KeyEvent.VK_SPACE: breaks = true; break;
+            case KeyEvent.VK_SPACE: breaks++; break;
             case KeyEvent.VK_D: dump(); break;
             case KeyEvent.VK_A: anneal = !anneal; break;
             case KeyEvent.VK_T: tileon = !tileon; break;