radianToDegree function

double radianToDegree (double radian)

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

Implementation

double radianToDegree(double radian) {
  return radian / constants.degree;
}