MCPcopy Create free account
hub / github.com/doldecomp/mkdd / getRandomMax

Method getRandomMax

src/Sato/stMath.cpp:511–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509}
510
511u32 stRandom::getRandomMax(u32 max)
512{
513 return ((max + 1) * get_ufloat_1());
514}
515
516void stRandom::getArbitUnitVec(TVec3f &dst, float p2, float p3)
517{

Callers 5

setRandomStartFrameMethod · 0.80
calcRndItemKindMethod · 0.80
calcRankMethod · 0.80
calcRndSpecialRankMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected