leaf method

bool leaf()

Returns true if this BVH node is a leaf node.

Implementation

bool leaf() {
	return children.isEmpty;
}