AutoMovie API
    Preparing search index...

    Function wrapDegrees

    • An angle in degrees wrapped to the half-open interval [-180, 180): the signed shortest turn equivalent to it, so the difference of two headings passed through it is the shortest arc between them.

      Parameters

      • degrees: number

        A finite angle, degrees.

      Returns number

      The equivalent angle in [-180, 180).