diff options
Diffstat (limited to 'js/util.js')
| -rw-r--r-- | js/util.js | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -52,7 +52,6 @@ function xrandom(exp){ return Math.pow(Math.random(), exp) } function xrand(exp,n){ return (xrandom(exp)*n) } function xrandint(exp,n){ return rand(exp,n)|0 } function xrandrange(exp,a,b){ return a + xrand(exp,b-a) } -function xrandsign(){ return xrandom() >= 0.5 ? -1 : 1 } function choice(a){ return a[randint(a.length)] } function deg(n){ return n*180/PI } |
