Rename CHANNEL_WIDTH to Cube. instead of Strip.
[SugarCubes.git] / _Internals.pde
index f81e6b2c98aa4ed17544fc5200a1c0aa15431a2f..49f9681a7342726fddf9fa2feb0cea4246e4368f 100644 (file)
@@ -215,7 +215,7 @@ void draw() {
 }
 
 void drawCube(Cube c) {
-  drawBox(c.x, c.y, c.z, c.rx, c.ry, c.rz, Cube.EDGE_WIDTH, Cube.EDGE_HEIGHT, Cube.EDGE_WIDTH, Strip.CHANNEL_WIDTH);
+  drawBox(c.x, c.y, c.z, c.rx, c.ry, c.rz, Cube.EDGE_WIDTH, Cube.EDGE_HEIGHT, Cube.EDGE_WIDTH, Cube.CHANNEL_WIDTH);
 }
 
 void drawBox(float x, float y, float z, float rx, float ry, float rz, float xd, float yd, float zd, float sw) {