Removed util.random, added util.randomFloat #5

Merged
sorucoder merged 4 commits from develop-1.8 into develop-1.8 2018-12-09 15:43:27 -05:00

4 Commits

Author SHA1 Message Date
sorucoder
eb8b823674 Fixed util.signum 2018-12-09 14:52:52 -05:00
sorucoder
2e94b61dff Fixed util.randomFloat
Fixed if both max or min is nil, it returns a number between 0 and 1
2018-12-09 01:04:24 -05:00
sorucoder
30640fd415 Fixed util.randomFloat
Fixed if max is nil, that it behaves like math.random()
2018-12-09 01:01:20 -05:00
sorucoder
3f3a2deaa8 Removed util.random, added util.randomFloat
Removed util.random as it is a duplicate of math.random. Added util.randomFloat, which returns a random floating point number.
2018-12-09 00:58:05 -05:00