Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocks now sorted on a grid to speed collision checking.
[vor.git]
/
mt.h
diff --git
a/mt.h
b/mt.h
index
f7ac92a
..
46c2a1c
100644
(file)
--- a/
mt.h
+++ b/
mt.h
@@
-4,7
+4,7
@@
#include <stdint.h>
void init_mt(uint32_t s);
#include <stdint.h>
void init_mt(uint32_t s);
-uint32_t irnd(void); // [0, 0xfffffff]
+uint32_t urnd(void); // [0, 0xfffffff]
float frnd(void); // [0, 1)
float crnd(void); // [-0.5, 0.5)
float frnd(void); // [0, 1)
float crnd(void); // [-0.5, 0.5)