Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATRound
CATInt32 CATRound ( CATFloat32  floatVal  )  [inline]

Round a floating point to the nearest integer Assumption: float must be within valid integer range.

Parameters:
floatVal - floating point value to round. Must be within integer range.
Returns:
CATInt32 - floatVal rounded to nearest integer

Definition at line 84 of file CATUtil.h.

References CATASSERT.


Generated on Mon Feb 11 04:10:05 2008 for Game Accessibility Suite by doxygen 1.5.4