| 168 | |
| 169 | template <typename Tile, unsigned SectorSize> |
| 170 | auto TileSectorArray<Tile, SectorSize>::sectorFor(Vec2I const& pos) const -> Sector { |
| 171 | return m_tileSectors.sectorFor((unsigned)pmod<int>(pos[0], m_worldSize[0]), (unsigned)pos[1]); |
| 172 | } |
| 173 | |
| 174 | template <typename Tile, unsigned SectorSize> |
| 175 | bool TileSectorArray<Tile, SectorSize>::sectorValid(Sector const& sector) const { |
no outgoing calls
no test coverage detected