Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
511
u32 stRandom::getRandomMax(u32 max)
512
{
513
return ((max + 1) * get_ufloat_1());
514
}
515
516
void stRandom::getArbitUnitVec(TVec3f &dst, float p2, float p3)
517
{
Callers
5
setRandomStartFrame
Method · 0.80
calcRndItemKind
Method · 0.80
getRndItemKindPossibilityGetting
Method · 0.80
calcRank
Method · 0.80
calcRndSpecialRank
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected