|
FastLED 3.10.8
|
| FASTLED_FORCE_INLINE CRGB CRGB::lerp16 | ( | const CRGB & | other, |
| fract16 | frac ) const |
Return a new CRGB object after performing a linear interpolation between this object and the passed in object.
blend(*this, other, amountOf2). There is deliberately no CHSV::lerp8 — interpolating hue requires choosing which way around the color wheel to travel, so the CHSV equivalent is blend(const CHSV&, const CHSV&, fract8, TGradientDirectionCode), which takes that direction as a parameter. Definition at line 167 of file crgb.hpp.
References CRGB(), FASTLED_FORCE_INLINE, fl::FL_NO_EXCEPT, fl::g, and lerp16by16().
Here is the call graph for this function: