- ((i % 2 == 0) ? 11 : 0) + 80 , // z
-45, (i % 2 == 0) ? MaxCubeHeight : MaxCubeHeight) ); // num cubes
-// for (int i=0; i<NumBackTowers/2; i++) scubes.add(new StaggeredTower(
-// (i+1)*CW, // x
-// (i % 2 == 0) ? 0 : CH * 2./3. , // y
-// - ((i % 2 == 0) ? 0 : 11) + 80 - pow(CH*CH + CW*CW, .5), // z
-// 225, (i % 2 == 0) ? MaxCubeHeight : MaxCubeHeight-1) );
+ for (int i=0; i<NumBackTowers/2; i++) scubes.add(new StaggeredTower(
+ (i+1)*CW, // x
+ (i % 2 == 0) ? 0 : CH * 2./3. , // y
+ - ((i % 2 == 0) ? 0 : 11) + 80 - pow(CH*CH + CW*CW, .5), // z
+ 225, (i % 2 == 0) ? MaxCubeHeight : MaxCubeHeight-1) );
// for (int i=0; i<2 ; i++) scubes.add(new StaggeredTower(
// (i+1)*CW, // x
}
- for (Cube cube : singleCubes) cubes[cubeIndex++] = cube;
- for (Cube cube : dcubes) cubes[cubeIndex++] = cube;
+ for (Cube cube : singleCubes) {
+ cubes[cubeIndex++] = cube;
+ }
+ for (Cube cube : dcubes) {
+ cubes[cubeIndex++] = cube;
+ }
for (StaggeredTower st : scubes) {
tower = new ArrayList<Cube>();
for (int i=0; i < st.n; i++) {
new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 1, 2, 3 }),
new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 4, 5, 6 }),
new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 7, 8, 9 }),
+
new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 10, 11, 12 }),
new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 16, 17, 18 }),
// new ChannelMapping(ChannelMapping.MODE_CUBES, new int[] { 34, 35, 36}),