MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / dRand

Function dRand

3rd_party/Src/ode/ode/src/misc.cpp:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30static unsigned long seed = 0;
31
32unsigned long dRand()
33{
34 seed = (1664525L*seed + 1013904223L) & 0xffffffff;
35 return seed;
36}
37
38
39unsigned long dRandGetSeed()

Callers 4

dTestDataStructuresFunction · 0.85
dTestRandFunction · 0.85
dRandIntFunction · 0.85
dRandRealFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected