makeSafe method

Spherical makeSafe()

Implementation

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

  return this;
}