getBoundingSphere method

Sphere getBoundingSphere(
  1. Sphere target
)

Implementation

Sphere getBoundingSphere(Sphere target) {
  getCenter(target.center);

  target.radius = getSize(_vectorBox3).length() * 0.5;

  return target;
}