|
Nebula
|
#include "random.h"Classes | |
| union | Util::RandomUnion |
Namespaces | |
| namespace | Util |
| A pinned array is an array which manages its own virtual memory. | |
Functions | |
| uint | Util::FastRandom () |
| XorShift128 implementation. | |
| float | Util::RandomFloat () |
| Thanks to Nic Werneck (https://xor0110.wordpress.com/2010/09/24/how-to-generate-floating-point-random-numbers-efficiently/) | |
| float | Util::RandomFloatNTP () |
| Produces an xorshift128 psuedo based floating point random number in range -1..1 Note that this is not a truely random random number generator. | |