FastLED 3.10.8
Loading...
Searching...
No Matches

◆ at() [2/2]

Tile2x2_u8_wrap::Entry & fl::Tile2x2_u8_wrap::at ( u16 x,
u16 y )

Definition at line 66 of file tile2x2.cpp.hpp.

66 {
67 // Wrap around the edges
68 x = (x + 2) % 2;
69 y = (y + 2) % 2;
70 return mData[y][x];
71}

References fl::FL_NO_EXCEPT, mData, fl::x, and fl::y.

Referenced by Tile2x2_u8_wrap(), Tile2x2_u8_wrap(), draw(), fl::Corkscrew::draw(), loop(), and fl::Corkscrew::readFromMulti().

+ Here is the caller graph for this function: