osgEarth 2.1.1
|
Functions | |
void | fast_rand (unsigned &next) |
void anonymous_namespace{Random.cpp}::fast_rand | ( | unsigned & | next | ) |
Definition at line 31 of file Random.cpp.
{ // note: this is not a "good" PRNG, but it is good enough for some applications // and it is wicked fast. next = next * 1103515245 + 12345; }