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

◆ xy_line_by_line()

FASTLED_FORCE_INLINE uint16_t fl::xy_line_by_line ( uint16_t x,
uint16_t y,
uint16_t width,
uint16_t height )

Definition at line 26 of file xymap.h.

27 {
28 (void)height;
29 return y * width + x;
30}
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:80
uint32_t y[NUM_LAYERS]
Definition Fire2023.ino:81

References FASTLED_FORCE_INLINE, x, and y.

Referenced by fl::XYMap::mapToIndex().

+ Here is the caller graph for this function: