degreesToRadians function

double degreesToRadians(
  1. dynamic degrees
)

Implementation

double degreesToRadians(degrees) {
  return degrees * deg2rad;
}