MCPcopy Create free account
hub / github.com/FastLED/FastLED / set

Method set

src/fl/math/screenmap.cpp.hpp:504–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502}
503
504void ScreenMap::set(u16 index, const vec2f &p) {
505 if (mLookUpTable) {
506 LUTXYFLOAT &lut = *mLookUpTable.get();
507 auto *data = lut.getDataMutable();
508 data[index] = p;
509 }
510}
511
512void ScreenMap::setDiameter(float diameter) { mDiameter = diameter; }
513

Callers 4

parseV2SegmentArrayFunction · 0.45
ParseJsonMethod · 0.45
toJsonMethod · 0.45
toScreenMapMethod · 0.45

Calls 2

getDataMutableMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected