traverse method

BVH traverse(
  1. Function callback
)

Executes the given callback for each node of the BVH.

Implementation

BVH traverse(Function callback ) {
	root?.traverse( callback );
	return this;
}