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

Function dTestRand

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

Source from the content-addressed store, hash-verified

49
50
51int dTestRand()
52{
53 unsigned long oldseed = seed;
54 int ret = 1;
55 seed = 0;
56 if (dRand() != 0x3c6ef35f || dRand() != 0x47502932 ||
57 dRand() != 0xd1ccf6e9 || dRand() != 0xaaf95334 ||
58 dRand() != 0x6252e503) ret = 0;
59 seed = oldseed;
60 return ret;
61}
62
63
64int dRandInt (int n)

Callers

nothing calls this directly

Calls 1

dRandFunction · 0.85

Tested by

no test coverage detected