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

◆ lerp()

template<int IntBits, int FracBits, Sign S>
static constexpr FASTLED_FORCE_INLINE fixed_point fl::fixed_point< IntBits, FracBits, S >::lerp ( fixed_point< IntBits, FracBits, S > a,
fixed_point< IntBits, FracBits, S > b,
fixed_point< IntBits, FracBits, S > t )
inlinestaticconstexpr

Definition at line 343 of file fixed_point.h.

343 {
344 return from_raw(Base::lerp(a, b, t).raw());
345 }
static constexpr FASTLED_FORCE_INLINE fixed_point from_raw(RawType raw) FL_NOEXCEPT
FASTLED_FORCE_INLINE constexpr RawType raw() const FL_NOEXCEPT