- Point ltf = new Point(-(width/2), (height/2), (depth/2));
- Point mtf = new Point( 0.0, (height/2), (depth/2));
- Point rtf = new Point( (width/2), (height/2), (depth/2));
- Point ltn = new Point(-(width/2), (height/2), -(depth/2));
- Point mtn = new Point( 0.0, (height/2), -(depth/2));
- Point rtn = new Point( (width/2), (height/2), -(depth/2));
- Point lbf = new Point(-(width/2), -(height/2), (depth/2));
- Point mbf = new Point( 0.0, -(height/2), (depth/2));
- Point rbf = new Point( (width/2), -(height/2), (depth/2));
- Point lbn = new Point(-(width/2), -(height/2), -(depth/2));
- Point mbn = new Point( 0.0, -(height/2), -(depth/2));
- Point rbn = new Point( (width/2), -(height/2), -(depth/2));
+ /*
+ translations = new Matrix[] {
+
+ //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, 0)).times(Matrix.rotate(new Vec(0, 0, 1), (float)Math.PI)),
+ //Matrix.translate(new Vec(0, -depth, 0)).times(Matrix.rotate(new Vec(0, 0, 1), (float)Math.PI)),
+
+ Matrix.translate(new Vec(0, 0, height)).times(Matrix.rotate(new Vec(0, 0, 1), (float)Math.PI)),
+ Matrix.translate(new Vec(0, 0, -height)).times(Matrix.rotate(new Vec(0, 0, 1), (float)Math.PI)),
+
+ //Matrix.translate(new Vec(0, depth, 0)),
+ //Matrix.translate(new Vec(0, -depth, 0)),
+ //Matrix.translate(new Vec(0, 0, height)),
+ //Matrix.translate(new Vec(0, 0, -height)),
+
+ //Matrix.translate(new Vec(lshift, depth, height/2)),
+ //Matrix.translate(new Vec(lshift, depth, -height/2)),
+ //Matrix.translate(new Vec(rshift, -depth, height/2)),
+ //Matrix.translate(new Vec(rshift, -depth, -height/2)),
+ //Matrix.translate(new Vec(rshift, 0, height)),
+ //Matrix.translate(new Vec(rshift, 0, -height)),
+
+ Matrix.translate(new Vec( width, 0, 0)),
+ Matrix.translate(new Vec(-width, 0, 0)),
+
+ };
+ */
+ //
+
+
+ //generateTile(translations, tile);
+
+ Point ltf = new Point(lshift, (depth/2), (height/2));
+ Point mtf = new Point( 0.0, (depth/2), (height/2));
+ Point rtf = new Point(rshift, (depth/2), (height/2));
+ Point lbf = new Point(lshift, -(depth/2), (height/2));
+ Point mbf = new Point( 0.0, -(depth/2), (height/2));
+ Point rbf = new Point(rshift, -(depth/2), (height/2));
+
+ Point ltc = new Point(lshift, (depth/2), 0);
+ Point mtc = new Point( 0.0, (depth/2), 0);
+ Point rtc = new Point(rshift, (depth/2), 0);
+ Point lbc = new Point(lshift, -(depth/2), 0);
+ Point mbc = new Point( 0.0, -(depth/2), 0);
+ Point rbc = new Point(rshift, -(depth/2), 0);
+
+ Point ltn = new Point(lshift, (depth/2), -(height/2));
+ Point mtn = new Point( 0.0, (depth/2), -(height/2));
+ Point rtn = new Point(rshift, (depth/2), -(height/2));
+ Point lbn = new Point(lshift, -(depth/2), -(height/2));
+ Point mbn = new Point( 0.0, -(depth/2), -(height/2));
+ Point rbn = new Point(rshift, -(depth/2), -(height/2));
+