SCPattern moved out of GLucose
[SugarCubes.git] / ShaheenGandhi.pde
index d718e3670f418bce183ef493308a25061716cd85..cda8fed4358c5b18302cdce3c6394179456a11c4 100644 (file)
@@ -183,8 +183,8 @@ class HelixPattern extends SCPattern {
   private static final float tMin = -200;
   private static final float tMax = 200;
 
-  public HelixPattern(GLucose glucose) {
-    super(glucose);
+  public HelixPattern(LX lx) {
+    super(lx);
 
     addParameter(helix1On);
     addParameter(helix2On);
@@ -252,7 +252,7 @@ class HelixPattern extends SCPattern {
     h2.step(deltaMs);
     calculateSpokes();
 
-    for (Point p : model.points) {
+    for (LXPoint p : model.points) {
       PVector pt = new PVector(p.x,p.y,p.z);
       color h1c = h1.colorOfPoint(pt);
       color h2c = h2.colorOfPoint(pt);