makeEmpty method

CellSpacePartitioning makeEmpty()

Removes all entities from all partitions.

Implementation

CellSpacePartitioning makeEmpty() {
	final cells = this.cells;

	for ( int i = 0, l = cells.length; i < l; i ++ ) {
		cells[ i ].makeEmpty();
	}

	return this;
}