diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-11-22 23:18:33 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-11-22 23:18:33 -0500 |
| commit | 42323b8eb65c8a56239467bb2580e8c96da36229 (patch) | |
| tree | 96b33d147e494076ebfebd99d539be7aba0bda41 /js/util.js | |
| parent | bfdb50e058abf94577ddd1b9e2cf1a9e6653828b (diff) | |
fix atan2
Diffstat (limited to 'js/util.js')
| -rw-r--r-- | js/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ function tan(n){ return Math.tan(n) } function acos(n){ return Math.cos(n) } function asin(n){ return Math.sin(n) } function atan(n){ return Math.atan(n) } -function atan2(n){ return Math.atan2(n) } +function atan2(a,b){ return Math.atan2(a,b) } function sec(n){ return 1/cos(n) } function csc(n){ return 1/sin(n) } function cot(n){ return 1/tan(n) } |
