FastLED 3.9.15
Loading...
Searching...
No Matches

◆ lerp()

template<typename Derived, int IntBits, int FracBits>
static constexpr FASTLED_FORCE_INLINE Derived fl::fixed_point_base< Derived, IntBits, FracBits >::lerp ( Derived a,
Derived b,
Derived t )
inlinestaticconstexpr

Definition at line 143 of file base.h.

143 {
144 return a + (b - a) * t;
145 }

References FASTLED_FORCE_INLINE, and fl::t.