checkpoint
[anneal.git] / src / edu / berkeley / qfat / MeshViewer.java
index b1f0e52..9bed900 100644 (file)
@@ -15,7 +15,7 @@ public class MeshViewer implements GLEventListener, MouseListener, MouseMotionLi
     public Mesh tile = new Mesh();
     public Mesh goal = new Mesh();
     public Matrix[] translations;
-    public Mesh.Vert[] points;
+    public Mesh.Vertex[] points;
 
 
     public boolean tileon = true;
@@ -54,7 +54,7 @@ public class MeshViewer implements GLEventListener, MouseListener, MouseMotionLi
             Vec normal = t.norm();
             pw.println("facet normal " + normal.x + " " + normal.y + " " + normal.z);
             pw.println("  outer loop");
-            for(Mesh.Vert v : new Mesh.Vert[] { t.v1(), t.v2(), t.v3() }) {
+            for(Mesh.Vertex v : new Mesh.Vertex[] { t.v1(), t.v2(), t.v3() }) {
                 pw.println("    vertex " + v.p.x + " " + v.p.y + " " + v.p.z);
             }
             pw.println("  endloop");
@@ -266,7 +266,7 @@ public class MeshViewer implements GLEventListener, MouseListener, MouseMotionLi
             */
             /*
             if (mesh==goal)
-                for(Mesh.Vert p : new Mesh.Vert[] { t.v1(), t.v2(), t.v3() }) {
+                for(Mesh.Vertex p : new Mesh.Vertex[] { t.v1(), t.v2(), t.v3() }) {
                 gl.glDisable(GL.GL_LIGHTING);
                 gl.glBegin(GL.GL_LINES);
                 gl.glColor3f(1, 1, 1);