degreesToRadians static method

double degreesToRadians(
  1. double degrees
)

Implementation

static double degreesToRadians(double degrees) {
  return degrees * pi / 180;
}