Function rad2deg

Converts an angle from radians to degrees.

  • Parameters

    • rad: number

      The angle in radians.

    Returns number

    The angle converted to degrees.