]> Dogcows Code - chaz/yoink/blobdiff - src/GameLayer.cc
cleaned up interpolator classes
[chaz/yoink] / src / GameLayer.cc
index 493aa6cfa5392334c6c4165edfcc0e7c5f0e948a..6db27b16bb8b34011f9a6829c3ea81eca711d81f 100644 (file)
@@ -124,8 +124,8 @@ GameLayer::GameLayer() :
        mState.heroine = Heroine::alloc();
        mState.heroine->animation.startSequence("FlyDiagonallyUp");
 
-       Mf::Scalar a[6] = {0.0, 1.5, -0.5, 3.0, -2.0, 1.0};
-       mState.interp.init(a, 5.0, Mf::Interpolator::OSCILLATE);
+       mState.interp.init(0.0, 1.0);
+       mState.interp.reset(4.0, Mf::Interp::OSCILLATE);
 
        setProjection();
 }
This page took 0.018864 seconds and 4 git commands to generate.