added JGraphT to code folder, seems to be working but it's possible I screwed somethi...
[SugarCubes.git] / _Mappings.pde
index 171ff13e26808b056c55392661fecb621050a8a4..817601e6adad7fa24589ddcf4cdb822423e7e8c2 100644 (file)
@@ -83,11 +83,11 @@ public Model buildModel() {
                  - ((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