Module Broadphase3d

type box = Vec3.t * Vec3.t
type method_ =
  1. | All_pairs
  2. | Grid
  3. | Sweep_and_prune
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 sweep_and_prune : ?axis:int -> box array -> result
val widest_axis : box array -> int
val spread : box array -> float * float * float
val pairs : method_ -> box array -> result