getBoundingBox method
Implementation
Box3 getBoundingBox(Box3 target) {
if (isEmpty()) {
// Empty sphere produces empty bounding box
target.makeEmpty();
return target;
}
target.set(center, center);
target.expandByScalar(radius);
return target;
}