Files
Blitz/include/blitz/maths/Smoothing.h
2024-04-14 18:53:22 +02:00

21 lines
337 B
C++

#pragma once
namespace blitz {
namespace maths {
class EMASmoother {
private:
float Alpha;
public:
float Current;
EMASmoother();
void TickUnitT(float target);
void Tick(float target, float delta);
float GetAlpha();
void SetAlpha(float alpha);
void SetSmoothingTime(float t);
};
} // namespace maths
} // namespace blitz