Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
173
float RandomGenerator::PlusMinus(float a, float b) const
174
{
175
return a - b + 2.0f * b * RandomValue();
176
}
Callers
15
Simulate
Method · 0.80
Mine
Method · 0.80
Simulate
Method · 0.80
DammageCrew
Method · 0.80
DammageCrew
Method · 0.80
MoveClouds
Method · 0.80
Think
Method · 0.80
SetBrownMove
Function · 0.80
Disclose
Method · 0.80
SetDanger
Method · 0.80
ReloadMagazineTimed
Method · 0.80
FireWeapon
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected