diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-11-22 23:19:12 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-11-22 23:19:12 -0500 |
| commit | 04537ed34d443d0610b77420d1dbef64bc05fbfa (patch) | |
| tree | 3f837352c1ce0e2665042e1fb4d84521dddfbc3b /js | |
| parent | e35a55d8dbc8696b0c5ab2f26cc4801957324394 (diff) | |
fix atan2
Diffstat (limited to 'js')
| -rw-r--r-- | js/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,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) } |
