checkpoint
authoradam <adam@megacz.com>
Tue, 18 Dec 2007 05:25:23 +0000 (21:25 -0800)
committeradam <adam@megacz.com>
Tue, 18 Dec 2007 05:25:23 +0000 (21:25 -0800)
darcs-hash:20071218052523-5007d-654decf719cf197660ee51cc5c07ef6e958fdc6a.gz

src/edu/berkeley/qfat/Main.java
src/edu/berkeley/qfat/MeshViewer.java

index 641e440..ae499b2 100644 (file)
@@ -89,16 +89,14 @@ public class Main extends MeshViewer {
 
             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)),
             */
-            /*
+
             Matrix.translate(new Vec(lshift,       0,  height)),
             Matrix.translate(new Vec(rshift,       0,  height)),
             Matrix.translate(new Vec(lshift,       0, -height)),
@@ -107,7 +105,7 @@ public class Main extends MeshViewer {
 
             Matrix.translate(new Vec( width,           0,    0)),
             Matrix.translate(new Vec(-width,           0,    0)),
-            */
+
         };
 
         //   
index f24e2ad..a886aa4 100644 (file)
@@ -199,12 +199,12 @@ public class MeshViewer implements GLEventListener, MouseListener, MouseMotionLi
         for(Matrix m : translations) {
             //if (v1.z==0 && v1.y==0) continue;
             i++;
-            //if (i!=2&&i!=5) continue;
+            if (i!=2&&i!=5) continue;
             Point p = new Point(0, 0, 0).times(m);
             Vec v = new Vec(p.x, p.y, p.z);
             v = v.times((float)1.04);
             gl.glTranslatef(v.x, v.y, v.z);
-            draw(gl, false, safeTriangles);
+            //draw(gl, false, safeTriangles);
             gl.glTranslatef(-v.x, -v.y, -v.z);
         }
         //gl.glEnable(GL.GL_DEPTH_TEST);