degreesToRadians static method

double degreesToRadians(
  1. double angleDegrees
)

Converts degrees to radians. @param {number} angleDegrees Angle in degrees. @return {number} Angle in radians.

Implementation

static double degreesToRadians(double angleDegrees)
{
  return angleDegrees * PI / 180.0;
}