[][src]Function broccoli::new

pub fn new<'a, T: Aabb>(bots: &'a mut [T]) -> Tree<'a, DefaultA, T>

Create a broccoli::Tree using the default axis.

Examples

let mut bots = [axgeom::rect(0,10,0,10)];
let tree = broccoli::new(&mut bots);