checkpoint
[anneal.git] / src / edu / berkeley / qfat / Main.java
index 178ca5a..fbef9c2 100644 (file)
@@ -590,8 +590,7 @@ public class Main extends InteractiveMeshViewer {
 
                 transforms = new Matrix[] {
 
-                    //Matrix.rotate(new Vec(1,0,0), (float)Math.PI),
-                    //Matrix.reflect(new Vec(1,0,0)),
+                    //Matrix.reflect(new Vec( 0,  height, -z).norm()),
 
                     Matrix.translate(new Vec(-unit, 0, 0)),
                     Matrix.translate(new Vec( unit, 0, 0)),
@@ -632,17 +631,33 @@ public class Main extends InteractiveMeshViewer {
                 transforms = new Matrix[] {
                     Matrix.reflect(new Vec( 0,  height, -z).norm()),
                     //Matrix.reflect(new Vec( 0, -height,  z)),
-                    Matrix.ONE
+                    Matrix.ONE,
+                    Matrix.translate(new Vec(-unit, 0, 0)),
+                    Matrix.translate(new Vec( unit, 0, 0)),
+                    /*
+                    Matrix.translate(new Vec(-cos,  0,  sin)),
+                    Matrix.translate(new Vec( cos,  0,  sin)),
+                    Matrix.translate(new Vec(-cos,  0, -sin)),
+                    Matrix.translate(new Vec( cos,  0, -sin)),
+
+                    Matrix.translate(new Vec( 0,  height, -z)),
+                    Matrix.translate(new Vec(-r,  height,  x)),
+                    Matrix.translate(new Vec( r,  height,  x)),
+                    Matrix.translate(new Vec( 0, -height,  z)),
+                    Matrix.translate(new Vec(-r, -height, -x)),
+                    Matrix.translate(new Vec( r, -height, -x)),
+                    */
                 };
 
+
                 //for(int i=0; i<transforms.length; i++) transforms[i] = Matrix.translate(m.times(vecs[i]));
-                /*
+
                 Matrix m = Matrix.scale(1.9f, 1f ,1);
                 //Matrix m = Matrix.scale(1f, 2.1f, 1f);
                 tile.transform(m);
                 for(int i=0; i<transforms.length; i++)
                     transforms[i] = preMultiplyTranslationalComponentBy(transforms[i], m);
-                */
+
 
                 fixupTile();