MCPcopy 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
227inline F32 mRoundToNearest( const F32 val )
228{
229 return mFloor( val + .5f );
230}
231
232inline S32 mClamp(S32 val, S32 low, S32 high)
233{

Callers 1

parentResizedMethod · 0.85

Calls 1

mFloorFunction · 0.85

Tested by

no test coverage detected