| 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) { |
nothing calls this directly
no test coverage detected