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

◆ ScreenMap() [2/7]

fl::ScreenMap::ScreenMap ( u32 length,
float mDiameter = -1.0f )

Definition at line 454 of file screenmap.cpp.hpp.

456 if (length > 0) {
458 LUTXYFLOAT &lut = *mLookUpTable.get();
459 vec2f *data = lut.getDataMutable();
460 for (u32 x = 0; x < length; x++) {
461 data[x] = {0, 0};
462 }
463 }
464}
float mDiameter
Definition screenmap.h:125
LUTXYFLOATPtr mLookUpTable
Definition screenmap.h:126
vec2< float > vec2f
Definition geometry.h:333
shared_ptr< T > make_shared(Args &&... args) FL_NOEXCEPT
Definition shared_ptr.h:414
LUT< vec2f > LUTXYFLOAT
Definition lut.h:26

References fl::LUT< T >::getDataMutable(), length, fl::make_shared(), mDiameter, mLookUpTable, and fl::x.

+ Here is the call graph for this function: