MCPcopy Create free account
hub / github.com/alecthomas/entityx / r

Function r

examples/example.cc:44–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43
44float r(int a, float b = 0) {
45 return static_cast<float>(std::rand() % (a * 1000) + b * 1000) / 1000.0;
46}
47
48
49struct Body {

Callers 2

updateMethod · 0.85
emit_particlesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected