empty method

BoundingSphere empty()

Makes the sphere empty by setting center to (0, 0, 0) and radius to -1.

Implementation

BoundingSphere empty() {
  center.x = 0;
  center.y = 0;
  center.z = 0;

  radius = double.infinity;

  return this;
}