Six crescent shaped legs

Dependencies:   mbed

LerpSmoother.hpp

Committer:
sim642
Date:
2016-06-21
Revision:
47:4f418a4b0051
Parent:
7:8dcdb39efc0e

File content as of revision 47:4f418a4b0051:

#ifndef LERP_SMOOTHER_H
#define LERP_SMOOTHER_H

#include "Smoother.hpp"

class LerpSmoother : public Smoother
{
public:
    LerpSmoother(float nFactor);
    
    virtual float smooth(float value);

private:
    float factor;
    float prevValue;
};

#endif // SMOOTHER_H