MCPcopy 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
127float cRandomMap::getRandomFloat(float pMin, float pMax) {
128
129 return mParams.mRandom.getf(pMin, pMax);
130}
131
132int32 cRandomMap::getRandomInt(int32 pMin, int32 pMax) {
133 if(pMin || pMax)

Callers

nothing calls this directly

Calls 1

getfMethod · 0.80

Tested by

no test coverage detected