21 #ifndef MINTERPOLATOR_H
22 #define MINTERPOLATOR_H
26 namespace OpenSkyNet {
58 virtual bool update(
float dt_) = 0;
67 virtual void init(
float& begin_,
float end_,
float speed_);
68 virtual bool update(
float dt_);
79 virtual bool update(
float dt_);
93 virtual bool update(
float dt_);
98 #endif //MINTERPOLATOR_H
enum OpenSkyNet::Math::Interpolator::TYPE _type
Interpolator(TYPE type_)
Definition: MInterpolator.h:46
Definition: MInterpolator.h:53
float _value
Definition: MInterpolator.h:43
virtual bool update(float dt_)=0
Definition: MInterpolator.h:39
ILerpOverTime()
Definition: MInterpolator.h:57
TYPE
Definition: MInterpolator.h:37
virtual bool update(float dt_)
Definition: MInterpolator.cpp:50
Definition: MInterpolator.h:40
Definition: MInterpolator.h:63
bool operator+(float amount_)
Definition: MInterpolator.cpp:6
Math::Point * _control
Definition: MInterpolator.h:73
Math::Point _rotAxis
Definition: MInterpolator.h:86
Math::Interpolator _interpolator
Definition: MInterpolator.h:55
Definition: MInterpolator.h:72
float _begin
Definition: MInterpolator.h:65
float _percentAdditive
Definition: MInterpolator.h:54
float * _control
Definition: MInterpolator.h:64
virtual bool update(float dt_)
Definition: MInterpolator.cpp:120
float _end
Definition: MInterpolator.h:65
static const float _minSqrdDistToUpdate
Definition: MInterpolator.h:76
Interpolator()
Definition: MInterpolator.h:45
virtual void init(Math::Point<> &begin_, const Math::Point<> &end_, float speed_)
Definition: MInterpolator.cpp:65
Math::Point _begin
Definition: MInterpolator.h:74
Definition: MInterpolator.h:83
virtual ~ILerpOverTime()
Definition: MInterpolator.h:59
Definition: MInterpolator.h:41
virtual bool update(float dt_)
Definition: MInterpolator.cpp:74
Math::Point _end
Definition: MInterpolator.h:74
Definition: MInterpolator.h:35
Definition: MMatrix3x3.h:32
float _endRads
Definition: MInterpolator.h:87
Math::Matrix3x3 * _control
Definition: MInterpolator.h:84
Math::Matrix3x3 _begin
Definition: MInterpolator.h:85
virtual void init(float &begin_, float end_, float speed_)
Definition: MInterpolator.cpp:41
Definition: MInterpolator.h:38
virtual void init(Math::Matrix3x3 &begin_, const Math::Point<> &axis_, float radians_, float speed_)
static const float _minRadsToUpdate
Definition: MInterpolator.h:89