API (v2.0.0) - Giro3D
    Preparing search index...

    Function computeDistanceToFitSphere

    • Returns the distance from the center of the bounding sphere so that the perspective camera's frustum view fits the sphere.

      Parameters

      • camera: PerspectiveCamera

        The perspective camera.

      • radius: number

        The sphere radius.

      Returns number