math docs
    Preparing search index...

    Function fromValues

    • Creates a new Spherical initialized with the given values

      Parameters

      • r: number

        radial distance

      • theta: number

        azimuthal angle in the XZ plane from +Z (radians)

      • phi: number

        polar angle from +Y axis (radians)

      Returns spherical.Spherical

      a new Spherical