Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDungeons/OpenDungeons
/ Double
Function
Double
source/utils/Random.cpp:75–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
73
}
74
75
double Double(double min, double max)
76
{
77
if (min > max)
78
{
79
std::swap(min, max);
80
}
81
82
return uniform(min, max);
83
}
84
85
int Int(int min, int max)
86
{
Callers
15
gaussianRandomDouble
Function · 0.85
handleSearchJob
Method · 0.85
handleJob
Method · 0.85
shoot
Method · 0.85
shoot
Method · 0.85
shoot
Method · 0.85
doUpkeep
Method · 0.85
useRoom
Method · 0.85
updateMeshesForTile
Method · 0.85
handleIdleAction
Method · 0.85
correctEntityMovePosition
Method · 0.85
needsToEat
Method · 0.85
Calls
1
uniform
Function · 0.85
Tested by
no test coverage detected