degreeToRadian function

double degreeToRadian (double degree)

Converts a degree (360-periodic) angle to a radian (2*Pi-periodic) angle.

Implementation

double degreeToRadian(double degree) {
  return degree * constants.degree;
}