Commit 9231c98d authored by Philip Levis's avatar Philip Levis
Browse files

Set skew properly.

parent 3b36a606
......@@ -6,7 +6,7 @@ import heronarts.lx.parameter.BoundedParameter;
// array of wing positions akin to colors[]
class FadeTest extends Pattern {
class FadeTest extends FlightPattern {
final BoundedParameter speed = new BoundedParameter("SPEE", 11000, 100000, 1000);
......@@ -25,8 +25,8 @@ class FadeTest extends Pattern {
int val = lx.hsb(hue, 100, 100);
int skew = (int)((hue - 180f) / 2);
for (Wing wing: model.getAllWings()) {
wing.setSkew(skew);
for (WingModel wing: model.getAllWings()) {
setSkew(wing, skew);
}
for (LightSamplePointModel bodyPoint : model.getAllBodyLights()) {
setColor(bodyPoint, LX.hsb(0, 0, 20));
......@@ -38,7 +38,7 @@ class FadeTest extends Pattern {
}
class BlackPinkTest extends Pattern {
class BlackPinkTest extends FlightPattern {
int FLYER_MOD = 75;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment