Flock::Collision::Broadphase2D
Broadphase interface: clear, insert each body's AABB, then collect_pairs
returns candidate index pairs (i < j) for the narrowphase to confirm.
It returns an array rather than yielding because a yielding method cannot be
dispatched through this abstract base (Crystal inlines yields at the call site).
Instance methods
clear
Sourcecollect_pairs
Source