Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
44
float r(int a, float b = 0) {
45
return static_cast<float>(std::rand() % (a * 1000) + b * 1000) / 1000.0;
46
}
47
48
49
struct Body {
Callers
2
update
Method · 0.85
emit_particles
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected