• Calculates the shortest difference between two given angles given in degrees.

    Returns

    the delta

    Parameters

    • current: number

      current angle in degrees

    • target: number

      target angle in degrees

    Returns number