Add a missing noStroke call
[SugarCubes.git] / _PandaDriver.pde
index d2998a729cdcc22342a5e02899d886cbc4e1d691..a65a0fe78ee5d79817f75b4e44cebfc9accc658e 100644 (file)
@@ -15,7 +15,6 @@ import oscP5.*;
  * will be moved into GLucose once stabilized.
  */
 public static class PandaDriver {
-
   // IP address
   public final String ip;
   
@@ -42,7 +41,7 @@ public static class PandaDriver {
     // Initialize our OSC output stuff
     address = new NetAddress(ip, 9001);
     message = new OscMessage("/shady/pointbuffer");
-
+    
     // Build the array of points, initialize all to nothing
     points = new int[PandaMapping.PIXELS_PER_BOARD];
     for (int i = 0; i < points.length; ++i) {
@@ -147,7 +146,7 @@ public static class PandaDriver {
   // as cubes with Wiring.FRONT_LEFT. If this needs to be changed,
   // remove this null assignment and change the below to have mappings
   // for the LEFT and RIGHT speaker
-  private final static int[][][] SPEAKER_STRIP_ORDERING = null; /* {
+  private final static int[][][] SPEAKER_STRIP_ORDERING = {
     // Left speaker
     { 
       // Front face, counter-clockwise from bottom left
@@ -164,14 +163,11 @@ public static class PandaDriver {
       {0, BACKWARD },
       {3, BACKWARD },
     }
-  };*/
-  
-  private final static int[][] LEFT_SPEAKER_STRIP_ORDERING = {
   };
   
   public PandaDriver(String ip, Model model, PandaMapping pm) {
     this(ip);
-
+    
     // Ok, we are initialized, time to build the array if points in order to
     // send out. We start at the head of our point buffer, and work our way
     // down. This is the order in which points will be sent down the wire.
@@ -323,6 +319,7 @@ public static class PandaDriver {
     }
   }
   
+
   private void sendPacket(int packetNum) {
     message.clearArguments();
     message.add(packetNum);
@@ -335,4 +332,3 @@ public static class PandaDriver {
     }
   }
 }
-