Six crescent shaped legs

Dependencies:   mbed

Committer:
sim642
Date:
Tue Jun 21 14:43:44 2016 +0000
Revision:
47:4f418a4b0051
Parent:
7:8dcdb39efc0e
Byte based communication

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sim642 7:8dcdb39efc0e 1 #ifndef LERP_SMOOTHER_H
sim642 7:8dcdb39efc0e 2 #define LERP_SMOOTHER_H
sim642 7:8dcdb39efc0e 3
sim642 7:8dcdb39efc0e 4 #include "Smoother.hpp"
sim642 7:8dcdb39efc0e 5
sim642 7:8dcdb39efc0e 6 class LerpSmoother : public Smoother
sim642 7:8dcdb39efc0e 7 {
sim642 7:8dcdb39efc0e 8 public:
sim642 7:8dcdb39efc0e 9 LerpSmoother(float nFactor);
sim642 7:8dcdb39efc0e 10
sim642 7:8dcdb39efc0e 11 virtual float smooth(float value);
sim642 7:8dcdb39efc0e 12
sim642 7:8dcdb39efc0e 13 private:
sim642 7:8dcdb39efc0e 14 float factor;
sim642 7:8dcdb39efc0e 15 float prevValue;
sim642 7:8dcdb39efc0e 16 };
sim642 7:8dcdb39efc0e 17
sim642 7:8dcdb39efc0e 18 #endif // SMOOTHER_H