Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TorqueGameEngines/Torque3D
/ mRoundToNearest
Function
mRoundToNearest
Engine/source/math/mMathFn.h:227–230 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
225
}
226
227
inline F32 mRoundToNearest( const F32 val )
228
{
229
return mFloor( val + .5f );
230
}
231
232
inline S32 mClamp(S32 val, S32 low, S32 high)
233
{
Callers
1
parentResized
Method · 0.85
Calls
1
mFloor
Function · 0.85
Tested by
no test coverage detected