Module BroadphaseSource

Sourcetype box = Vec2.t * Vec2.t
Sourcetype method_ =
  1. | All_pairs
  2. | Grid
  3. | Sort_and_sweep
Sourceval methods : method_ list
Sourceval name : method_ -> string
Sourcetype result = {
  1. pairs : (int * int) list;
  2. tests : int;
}
Sourceval all_pairs : box array -> result
Sourceval grid : ?cell:float -> box array -> result
Sourceval cell_size : box array -> float
Sourceval sort_and_sweep : box array -> result
Sourceval pairs : method_ -> box array -> result