summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/util.c b/util.c
index d38c331..2a3648f 100644
--- a/util.c
+++ b/util.c
@@ -22,10 +22,3 @@ maximum (float x, float y)
{
return ((x) > (y) ? (x) : (y));
}
-
-float
-symmDistr()
-{ //returns number in range [-1, 1] with bias towards 0, symmetric about 0.
- float x = 2*randf(1)-1;
- return x*(1-cbrt(1-fabsf(x)));
-}