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

Method PlusMinus

engine/Random/randomGen.cpp:173–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173float RandomGenerator::PlusMinus(float a, float b) const
174{
175 return a - b + 2.0f * b * RandomValue();
176}

Callers 15

SimulateMethod · 0.80
MineMethod · 0.80
SimulateMethod · 0.80
DammageCrewMethod · 0.80
DammageCrewMethod · 0.80
MoveCloudsMethod · 0.80
ThinkMethod · 0.80
SetBrownMoveFunction · 0.80
DiscloseMethod · 0.80
SetDangerMethod · 0.80
ReloadMagazineTimedMethod · 0.80
FireWeaponMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected