Quadtree( this.bounds, { this.maxObjects = 10, this.maxDepth = 4, this.depth = 0, }) : objects = [], nodes = {};