makeSafe method

Spherical makeSafe()

Implementation

Spherical makeSafe() {
  const eps = 0.000001;
  phi = Math.max(eps, Math.min(Math.pi - eps, phi)).toDouble();

  return this;
}