| 269 | bool empty() const { return mSparseGrid.empty(); } |
| 270 | |
| 271 | pair<bool, CRGB> at(u16 x, u16 y) const { |
| 272 | const CRGB *val = mSparseGrid.find_value(vec2<u16>(x, y)); |
| 273 | if (val != nullptr) { |
| 274 | return {true, *val}; |
| 275 | } |
| 276 | return {false, CRGB::Black}; |
| 277 | } |
| 278 | |
| 279 | rect<u16> bounds() const { |
| 280 | if (mAbsoluteBoundsSet) { |
nothing calls this directly
no test coverage detected