Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATModFloat
CATFloat32 CATModFloat ( CATFloat32  modFloat,
CATUInt32  modBase 
) [inline]

CATModFloat() performs 'retVal = modFloat % modBase', keeping the floating point fraction in retVal. e.g. CATModFloat( 7.5, 3 ) would return 1.5.

Definition at line 134 of file CATUtil.h.

References CATASSERT.


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