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

    Function computeZoomToFitSphere

    • Computes the zoom value so that the sphere fits in the orthographic camera's frustum.

      Parameters

      • camera: OrthographicCamera

        The orthographic camera.

      • radius: number

        The sphere radius.

      Returns number