MCPcopy 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
982float TriRand()
983{
984 jran <<= 12;
985 jran += 150889;
986 jran %= 714025;
987 return float( jran ) / 714025.0f;
988};
989
990int TriRandInt( int hi )
991{

Callers 15

UpdateMethod · 0.85
GenerateStarFunction · 0.85
CreatePlacementMethod · 0.85
GetGoodLocatorIndexMethod · 0.85
EveMissileWarheadMethod · 0.85
PrepareLaunchMethod · 0.85
EveSwarmMethod · 0.85
Calculate_SeparationMethod · 0.85
Calculate_WanderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected