summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/math/atan2.js.map
blob: f1afceb4654521aa29f203a1743af9be98570204 (plain) (blame)
1
{"version":3,"sources":["../../../src/php/math/atan2.js"],"names":["module","exports","atan2","y","x","Math"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,KAAT,CAAgBC,CAAhB,EAAmBC,CAAnB,EAAsB;AACrC;AACA;AACA;AACA;;AAEA,SAAOC,KAAKH,KAAL,CAAWC,CAAX,EAAcC,CAAd,CAAP;AACD,CAPD","file":"atan2.js","sourcesContent":["module.exports = function atan2 (y, x) {\n  //  discuss at: http://locutus.io/php/atan2/\n  // original by: Brett Zamir (http://brett-zamir.me)\n  //   example 1: atan2(1, 1)\n  //   returns 1: 0.7853981633974483\n\n  return Math.atan2(y, x)\n}\n"]}