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

Method at

src/fl/gfx/raster_sparse.h:91–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 // y); }
90
91 pair<bool, u8> at(u16 x, u16 y) const {
92 const u8 *val = mSparseGrid.find_value(vec2<u16>(x, y));
93 if (val != nullptr) {
94 return {true, *val};
95 }
96 return {false, 0};
97 }
98
99 rect<u16> bounds() const {
100 if (mAbsoluteBoundsSet) {

Callers

nothing calls this directly

Calls 1

find_valueMethod · 0.80

Tested by

no test coverage detected