summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/math/deg2rad.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/locutus/php/math/deg2rad.js')
-rw-r--r--node_modules/locutus/php/math/deg2rad.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/node_modules/locutus/php/math/deg2rad.js b/node_modules/locutus/php/math/deg2rad.js
deleted file mode 100644
index 9237593..0000000
--- a/node_modules/locutus/php/math/deg2rad.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";
-
-module.exports = function deg2rad(angle) {
- // discuss at: http://locutus.io/php/deg2rad/
- // original by: Enrique Gonzalez
- // improved by: Thomas Grainger (http://graingert.co.uk)
- // example 1: deg2rad(45)
- // returns 1: 0.7853981633974483
-
- return angle * 0.017453292519943295; // (angle / 180) * Math.PI;
-};
-//# sourceMappingURL=deg2rad.js.map \ No newline at end of file