Nebula
Loading...
Searching...
No Matches
random.cc File Reference
#include "random.h"

Classes

union  Util::RandomUnion

Namespaces

namespace  Util
 A quad tree designed to return regions of free 2D space.

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.