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

Function dRandInt

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

Source from the content-addressed store, hash-verified

62
63
64int dRandInt (int n)
65{
66 double a = double(n) / 4294967296.0;
67 return (int) (double(dRand()) * a);
68}
69
70
71dReal dRandReal()

Callers

nothing calls this directly

Calls 1

dRandFunction · 0.85

Tested by

no test coverage detected