summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/math/deg2rad.js.map
blob: 141482778c79a49bbdb9715d1fa6c397f404ed3d (plain) (blame)
1
{"version":3,"sources":["../../../src/php/math/deg2rad.js"],"names":["module","exports","deg2rad","angle"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,OAAT,CAAkBC,KAAlB,EAAyB;AACxC;AACA;AACA;AACA;AACA;;AAEA,SAAOA,QAAQ,oBAAf,CAPwC,CAOJ;AACrC,CARD","file":"deg2rad.js","sourcesContent":["module.exports = function deg2rad (angle) {\n  //  discuss at: http://locutus.io/php/deg2rad/\n  // original by: Enrique Gonzalez\n  // improved by: Thomas Grainger (http://graingert.co.uk)\n  //   example 1: deg2rad(45)\n  //   returns 1: 0.7853981633974483\n\n  return angle * 0.017453292519943295 // (angle / 180) * Math.PI;\n}\n"]}