Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/carbonengine/trinity
/ TriRand
Function
TriRand
trinity/TriMath.cpp:982–988 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
980
};
981
982
float TriRand()
983
{
984
jran <<= 12;
985
jran += 150889;
986
jran %= 714025;
987
return float( jran ) / 714025.0f;
988
};
989
990
int TriRandInt( int hi )
991
{
Callers
15
Update
Method · 0.85
GenerateStar
Function · 0.85
GeneratePointsInVolume
Method · 0.85
ProcessLayoutDistributionConditions
Method · 0.85
ProcessLayoutDistributionDistribute
Method · 0.85
CreatePlacement
Method · 0.85
GetGoodLocatorIndex
Method · 0.85
EveMissileWarhead
Method · 0.85
PrepareLaunch
Method · 0.85
EveSwarm
Method · 0.85
Calculate_Separation
Method · 0.85
Calculate_Wander
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected