What is Dynamic Lerper?
Most of the times that we want to do an interpolation, we have to go through the same overwhelming process of implementing interpolation, handling delta time, updating values, etc…
By creating this helper class, any interpolation could be done using this class.
There are two lerper classes available: Normal Lerper & Dynamic Lerper
Lerper implements a Lerper_Type which defines the behavior of the lerper: Default, PingPong
Dynamic Lerper
1
2
3
4
5
enum class Lerper_Type : uint8_t
{
Default = 0,
PingPong = 1
};