Module Broadphase

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