renderbug/lib/Figments/Animation.cpp

11 lines
177 B
C++
Raw Normal View History

2019-05-10 05:17:29 +00:00
#include "./Animation.h"
#include "./Input.h"
#include "./Display.h"
#include <algorithm>
uint8_t
AnimatedNumber::value() const
{
2021-03-29 08:10:55 +00:00
return lerp8by8(m_start, m_end, m_idx);
2019-05-10 05:17:29 +00:00
}