src/Quadtree.js
/**
   * Responsible for recursively clearing the Quadtree.
   */
Responsible for recursively clearing the Quadtree.
Responsible for recursively clearing the Quadtree .
clear() {
    this.#objects = [];
    this.#nodes.forEach(node => {
      if (node.length) {
        node.clear();
      }
    });
    this.#nodes = [];
  }
clear ( ) { this . #objects = [ ] ; this . #nodes . forEach ( node => { if ( node . length ) { node . clear ( ) ; } } ) ; this . #nodes = [ ] ; }
Responsible for recursively clearing the Quadtree.
Responsible for recursively clearing the Quadtree .