Function degToRad

  • Convert degrees to radians

    Parameters

    • degrees: number

      Angle in degrees

    Returns number

    angle converted to radians