summaryrefslogtreecommitdiff
path: root/js/util.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-05-11 14:42:27 -0400
committerJules Laplace <jules@okfoc.us>2016-05-11 14:42:27 -0400
commit3c5556c0610c4b28e78e012cd21812ff2b484fd8 (patch)
treee0ab031e08576b8ef178dd14362a32657539b536 /js/util.js
parent93151c4788106e56a53bfd4dfd2f089cadb00c63 (diff)
fix undo bug, add rotate scale shader nopaint featurez
Diffstat (limited to 'js/util.js')
-rw-r--r--js/util.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/util.js b/js/util.js
index d0d616d..7859b2b 100644
--- a/js/util.js
+++ b/js/util.js
@@ -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 }