makeEmpty method
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;
}
Removes all entities from all partitions.
CellSpacePartitioning makeEmpty() {
final cells = this.cells;
for ( int i = 0, l = cells.length; i < l; i ++ ) {
cells[ i ].makeEmpty();
}
return this;
}