Struct mold2d::quadtree::Quadtree [] [src]

pub struct Quadtree<'a, Type> { /* fields omitted */ }

A quadtree for minimizing collision checks between actors

Methods

impl<'a, Type> Quadtree<'a, Type>
[src]

Inserts an actor into the quadtree

Return all objects that could collide

Returns the total number of elements in the quadtree