| 148 | } |
| 149 | |
| 150 | EntityId firstQuadrantId(const World::Pos2& loc) |
| 151 | { |
| 152 | auto index = getSpatialIndexOffset(loc); |
| 153 | return _entitySpatialIndex[index]; |
| 154 | } |
| 155 | |
| 156 | static void insertToSpatialIndex(EntityBase& entity, const size_t newIndex) |
| 157 | { |
no test coverage detected