Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDungeons/OpenDungeons
/ round
Function
round
source/utils/Helper.cpp:87–90 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
85
}
86
87
int round(double d)
88
{
89
return static_cast<int>(d + 0.5);
90
}
91
92
int round(float f)
93
{
Callers
15
computeMood
Method · 0.85
computeMood
Method · 0.85
useRoom
Method · 0.85
useRoom
Method · 0.85
useRoom
Method · 0.85
handleFirstUpkeep
Method · 0.85
updateMinimapCamera
Method · 0.85
MiniMapDrawnFull
Method · 0.85
camera_2dPositionFromClick
Method · 0.85
computeDestination
Method · 0.85
checkWalkPathValid
Method · 0.85
setJobCooldown
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected