Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
30
static unsigned long seed = 0;
31
32
unsigned long dRand()
33
{
34
seed = (1664525L*seed + 1013904223L) & 0xffffffff;
35
return seed;
36
}
37
38
39
unsigned long dRandGetSeed()
Callers
4
dTestDataStructures
Function · 0.85
dTestRand
Function · 0.85
dRandInt
Function · 0.85
dRandReal
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected