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

◆ x_reverse()

FASTLED_FORCE_INLINE u16 fl::x_reverse ( u16 x,
u16 length )

Definition at line 15 of file xmap.h.

15 {
16 return length - 1 - x;
17}
fl::UISlider length("Length", 1.0f, 0.0f, 1.0f, 0.01f)

References FASTLED_FORCE_INLINE, length(), and x.

Referenced by fl::XMap::mapToIndex().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: