degToRad constructor

const degToRad(
  1. num d
)

Change degree to radian.

Implementation

const degToRad(num d) : _v = d / 180 * pi1;