Node.js examples for Geometry:Radian
Converts numeric degrees to radians
if(typeof(Number.prototype.toRad) === "undefined") { Number.prototype.toRad = function() { return this * Math.PI / 180; }/*from w ww . java2 s . c om*/ }