spelling mistake

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40857
This commit is contained in:
Borja Ferrer 2007-05-23 20:24:28 +00:00
parent 6dc9c923f4
commit 942c3acd8e
2 changed files with 3 additions and 3 deletions

View File

@ -128,7 +128,7 @@ static cell_t sm_SquareRoot(IPluginContext *pCtx, const cell_t *params)
return sp_ftoc(sqrt(val)); return sp_ftoc(sqrt(val));
} }
static cell_t sm_RountToNearest(IPluginContext *pCtx, const cell_t *params) static cell_t sm_RoundToNearest(IPluginContext *pCtx, const cell_t *params)
{ {
float val = sp_ctof(params[1]); float val = sp_ctof(params[1]);
val = (float)floor(val + 0.5f); val = (float)floor(val + 0.5f);
@ -277,7 +277,7 @@ REGISTER_NATIVES(floatnatives)
{"RoundToZero", sm_RoundToZero}, {"RoundToZero", sm_RoundToZero},
{"RoundToCeil", sm_RoundToCeil}, {"RoundToCeil", sm_RoundToCeil},
{"RoundToFloor", sm_RoundToFloor}, {"RoundToFloor", sm_RoundToFloor},
{"RountToNearest", sm_RountToNearest}, {"RoundToNearest", sm_RoundToNearest},
{"FloatCompare", sm_FloatCompare}, {"FloatCompare", sm_FloatCompare},
{"SquareRoot", sm_SquareRoot}, {"SquareRoot", sm_SquareRoot},
{"Pow", sm_Pow}, {"Pow", sm_Pow},

View File

@ -100,7 +100,7 @@ native RoundToFloor(Float:value);
* @param value Input value to be rounded. * @param value Input value to be rounded.
* @return Rounded value. * @return Rounded value.
*/ */
native RountToNearest(Float:value); native RoundToNearest(Float:value);
/** /**
* Compares two floats. * Compares two floats.