degToRad method

double degToRad(
  1. double deg
)

Implementation

double degToRad(double deg) => (pi / 180) * deg;