]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Interpolator.hh
new level-based controllers
[chaz/yoink] / src / Moof / Interpolator.hh
index b32482c73a9e502667530293786db06f04b4d60a..7ded928d8c3109d78fa29a3ff3d4386272b94cc9 100644 (file)
@@ -139,12 +139,12 @@ public:
 
        virtual void calculate(T& value, Scalar alpha) = 0;
 
-       const T& getValue()
+       const T& getValue() const
        {
                return value_;
        }
 
-       const T getState(Scalar alpha)
+       const T getState(Scalar alpha) const
        {
                return cml::lerp(previous_, value_, alpha);
        }
This page took 0.018227 seconds and 4 git commands to generate.