asobi_spatial (asobi v0.35.4)
View SourceSpatial query primitives over zone entities: radius and rectangle queries,
nearest-neighbour, range and distance helpers. Pure functional - no
process, no state - operating on entity maps, so asobi_zone and game code
can call it directly.
Summary
Types
Functions
-spec nearest(map(), {number(), number()}, pos_integer(), query_opts()) -> [{binary(), map(), float()}].