#include #include #include #include namespace mbgl { namespace util { UnitBezier ease(0, 0, 0.25, 1); transition::~transition() {} template transition::state ease_transition::update(const TimePoint& now) const { float t = progress(now); if (t >= 1) { value = to; return complete; } else { value = interpolate(from, to, ease.solve(t, 0.001)); return running; } } template class ease_transition; }}