diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-05-11 14:42:27 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-05-11 14:42:27 -0400 |
| commit | 3c5556c0610c4b28e78e012cd21812ff2b484fd8 (patch) | |
| tree | e0ab031e08576b8ef178dd14362a32657539b536 /js/util.js | |
| parent | 93151c4788106e56a53bfd4dfd2f089cadb00c63 (diff) | |
fix undo bug, add rotate scale shader nopaint featurez
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 } |
