API

Function getEffectivePitchMax

  • Computes the effective maximum pitch for a given camera radius. When pitchDisabledRadiusScale is set, pitch is interpolated from pitchMax down to pitchMin as the camera zooms out from x·planetRadius to y·planetRadius (so a fully zoomed-out camera looks straight down).

    Parameters

    Returns number