degToRad static method

num degToRad(
  1. num deg
)

Implementation

static num degToRad(num deg) {
  return deg * (math.pi / 180.0);
}