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

◆ colorburn_fp()

FASTLED_FORCE_INLINE fl::i32 fl::colorburn_fp ( fl::i32 a,
fl::i32 b )

Definition at line 151 of file render_value_fp.h.

151 {
152 if (b <= 0) return 0;
153 fl::i32 result = 255 - ((255 - a) * 255) / b;
154 return result < 0 ? 0 : result;
155}
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31

References FASTLED_FORCE_INLINE.