MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Random

Function Random

engine/Evaluator/express.cpp:535–539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533}
534
535static GameValue Random(const GameState* state, GameValuePar oper1)
536{
537 float value = GRandGen.RandomValue();
538 return (float)(value * (float)oper1);
539}
540
541static GameValue Sinus(const GameState* state, GameValuePar oper1)
542{

Callers

nothing calls this directly

Calls 1

RandomValueMethod · 0.45

Tested by

no test coverage detected