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

◆ set()

void fl::ScreenMap::set ( u16 index,
const vec2f & p )

Definition at line 345 of file screenmap.cpp.

345 {
346 if (mLookUpTable) {
347 LUTXYFLOAT &lut = *mLookUpTable.get();
348 auto *data = lut.getDataMutable();
349 data[index] = p;
350 }
351}
LUTXYFLOATPtr mLookUpTable
Definition screenmap.h:103
LUT< vec2f > LUTXYFLOAT
Definition lut.h:26

References fl::LUT< T >::getDataMutable(), and mLookUpTable.

Referenced by anonymous_namespace{LedRopeTCL.cpp}::init_screenmap(), ParseJson(), and fl::XYMap::toScreenMap().

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