import java.util.*; class Mesh { // class for a mesh int curfile = -1; float orgxsize = 0; float orgysize = 0; float orgzsize = 0; float curscale = 1; int fileMax=2; String [] filename= new String[fileMax]; int maxArray = 1000; TriangleFace[] faces = new TriangleFace[maxArray*3]; //# of possible faces in mesh TriangleVertex[] vertices = new TriangleVertex[maxArray]; //# of possible verts in mesh TriangleEdge[] edges = new TriangleEdge[maxArray*2];//2 * (3*n*n - 4*n + 1)]; //# of possible edges in mesh int triCount = 0; int vCount = 0; int eCount = 0; boolean inflated; pt ptCenter; Mesh() { for(int i=0; i -1 ? m.curfile-1 : -1; curscale = m.curscale; println("set mesh : " + curfile + ", " + curscale); loadMesh(); } void makeLarger() { curscale *= 1.25; for(int k=0; k