getBoundingSphere method

BoundingSphere getBoundingSphere(
  1. BoundingSphere target
)

Implementation

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

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

  return target;
}