Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenFodder/openfodder
/ getRandomFloat
Method
getRandomFloat
Source/Map/Random.cpp:127–130 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
125
}
126
127
float cRandomMap::getRandomFloat(float pMin, float pMax) {
128
129
return mParams.mRandom.getf(pMin, pMax);
130
}
131
132
int32 cRandomMap::getRandomInt(int32 pMin, int32 pMax) {
133
if(pMin || pMax)
Callers
nothing calls this directly
Calls
1
getf
Method · 0.80
Tested by
no test coverage detected