diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -4,24 +4,6 @@ #include <math.h> #include <float.h> -float -randf(float x) -{ //return random number in range [0,x) - return rand()/(((double)RAND_MAX + 1) / x); -} - -float -minimum(float x, float y) -{ - return ((x) < (y) ? (x) : (y)); -} - -float -maximum(float x, float y) -{ - return ((x) > (y) ? (x) : (y)); -} - void setColor(float* color, float r, float g, float b, float a, float randomOffset, float randomness) |