degreeToRadian static method

double degreeToRadian(
  1. double degree
)

Implementation

static double degreeToRadian(double degree) {
  return degree * pi / 180;
}