From: Mark Slee Date: Sun, 24 Nov 2013 00:27:27 +0000 (-0800) Subject: Tweak for final mapping Asana hackathon X-Git-Url: https://git.piment-noir.org/?p=SugarCubes.git;a=commitdiff_plain;h=cd1c3313256dcd3611453c7d7e7e493e1fefdc31 Tweak for final mapping Asana hackathon --- diff --git a/_Mappings.pde b/_Mappings.pde index 6877e63..171ff13 100644 --- a/_Mappings.pde +++ b/_Mappings.pde @@ -214,8 +214,12 @@ float current_x_position = 0; } - 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(); for (int i=0; i < st.n; i++) { @@ -255,6 +259,7 @@ public PandaMapping[] buildPandaList() { 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}),