osgEarth 2.1.1
Functions

anonymous_namespace{Random.cpp} Namespace Reference

Functions

void fast_rand (unsigned &next)

Function Documentation

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;
    }

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines