mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
removed tabs
This commit is contained in:
parent
4c0d3bbc34
commit
2a1f81d3aa
1 changed files with 9 additions and 9 deletions
|
|
@ -104,16 +104,16 @@ DefineConsoleFunction( mRound, S32, ( F32 v ),,
|
||||||
}
|
}
|
||||||
|
|
||||||
DefineConsoleFunction( mRoundColour, F32, ( F32 v, S32 n ), (0),
|
DefineConsoleFunction( mRoundColour, F32, ( F32 v, S32 n ), (0),
|
||||||
"Round v to the nth decimal place or the nearest whole number by default."
|
"Round v to the nth decimal place or the nearest whole number by default."
|
||||||
"@param v Value to roundn"
|
"@param v Value to roundn"
|
||||||
"@param n Number of decimal places to round to, 0 by defaultn"
|
"@param n Number of decimal places to round to, 0 by defaultn"
|
||||||
"@return The rounded value as a S32."
|
"@return The rounded value as a S32."
|
||||||
"@ingroup Math")
|
"@ingroup Math")
|
||||||
{
|
{
|
||||||
if (n <= 0)
|
if (n <= 0)
|
||||||
return mRound(v);
|
return mRound(v);
|
||||||
else
|
else
|
||||||
return mRound(v, n);
|
return mRound(v, n);
|
||||||
}
|
}
|
||||||
|
|
||||||
DefineConsoleFunction( mCeil, S32, ( F32 v ),,
|
DefineConsoleFunction( mCeil, S32, ( F32 v ),,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue