From cd1c3313256dcd3611453c7d7e7e493e1fefdc31 Mon Sep 17 00:00:00 2001 From: Mark Slee Date: Sat, 23 Nov 2013 16:27:27 -0800 Subject: [PATCH] Tweak for final mapping Asana hackathon --- _Mappings.pde | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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}), -- 2.34.1