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

◆ XMap() [1/3]

fl::XMap::XMap ( uint16_t length,
bool is_reverse = false,
uint16_t offset = 0 )

Definition at line 28 of file xmap.cpp.

28 {
29 type = is_reverse ? kReverse : kLinear;
30 this->length = length;
31 this->mOffset = offset;
32}
uint16_t mOffset
Definition xmap.h:66
Type type
Definition xmap.h:62
uint16_t length
Definition xmap.h:61
@ kLinear
Definition xmap.h:30
@ kReverse
Definition xmap.h:30

References kLinear, kReverse, length, mOffset, and type.

Referenced by XMap(), constructWithLookUpTable(), constructWithUserFunction(), and operator=().

+ Here is the caller graph for this function: