11 lines
381 B
C++
11 lines
381 B
C++
#pragma once
|
|
|
|
#include "evo/simulation/world.hpp"
|
|
|
|
namespace evo {
|
|
// Read-only point-radius query on the proof torus. Inclusive radius, ascending
|
|
// IDs, no implicit self exclusion. Caller must provide a stable world.
|
|
[[nodiscard]] std::expected<std::vector<EntityId>, Error>
|
|
query_neighbors(const SimulationWorld& world, Position2 center, Millimetres radius);
|
|
} // namespace evo
|