X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=_Mappings.pde;h=8798fb59fea91797853017ed978d5ad191538e71;hb=36e19b7b5b923666a56fd4a941fb0f1ada725093;hp=b7b6a86d483279fa9fbcc1973f9b089b297ee39d;hpb=b9b7b3d47ba1edbb5595d749cf0d0a77a3ff7c5b;p=SugarCubes.git diff --git a/_Mappings.pde b/_Mappings.pde index b7b6a86..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;