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

◆ copy() [2/2]

void fl::Pixels::copy ( Pixels ori,
leddirection dir )
inline

Definition at line 240 of file ___pixeltypes.h.

240 {
244 for (int i = 0; i < ori._size; i++) {
245 if (ledd == dir) {
246 (*this)[i] = ori[i];
247 } else {
248 (*this)[i] = ori[ori._size - i % (ori._size) - 1];
249 }
250 }
251 }
leddirection _direction

References Pixels(), _direction, _size, fl::FORWARD, and fl::MAP.

+ Here is the call graph for this function: