X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=_Mappings.pde;h=8798fb59fea91797853017ed978d5ad191538e71;hb=d3016df6068e182a317be0451674411937fd7e95;hp=53ff88924b7a0848d8ea57176121da344987d8a0;hpb=e18b4cb735a6e1f2d6cb2e7b1709d4a575cfe795;p=SugarCubes.git diff --git a/_Mappings.pde b/_Mappings.pde index 53ff889..8798fb5 100644 --- a/_Mappings.pde +++ b/_Mappings.pde @@ -24,7 +24,6 @@ static final float FLOOR = 0; * The second value is the offset moving NW (negative comes forward-right). */ static final float[][] TOWER_CONFIG = new float[][] { - // x, z, y, # new float[] { 0, 0, RISER, 4 }, new float[] { 25, -10, RISER, 4 }, new float[] { 50, -22.5, FLOOR, 5 }, @@ -39,11 +38,6 @@ static final float[][] TOWER_CONFIG = new float[][] { public Model buildModel() { - // TODO: (Mark Slee, Alex Green, or Ben Morrow): The Cube # is determined by the order in this list. - // "raw object index" is serialized by running through towermapping and then individual cube mapping below. - // We can do better than this. The raw object index should be obvious from the code-- looking through the - // rendered simulation and counting through cubes in mapping mode is grossly inefficient. - List towers = new ArrayList(); Cube[] cubes = new Cube[200]; int cubeIndex = 1; @@ -72,6 +66,5 @@ public Model buildModel() { towers.add(new Tower(tower)); } - return new Model(towers, cubes, BassBox.noBassBox(), new ArrayList()); + return new Model(towers, cubes); } -