summaryrefslogtreecommitdiffstats
path: root/src/math/old/d3dmath.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/old/d3dmath.h')
-rw-r--r--src/math/old/d3dmath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/old/d3dmath.h b/src/math/old/d3dmath.h
index 4f563e7..0cab192 100644
--- a/src/math/old/d3dmath.h
+++ b/src/math/old/d3dmath.h
@@ -47,7 +47,7 @@ const FLOAT g_EPSILON = 1.0e-5f; // Tolerance for FLOATs
//-----------------------------------------------------------------------------
// Fuzzy compares (within tolerance)
//-----------------------------------------------------------------------------
-inline BOOL D3DMath_IsZero( FLOAT a, FLOAT fTol = g_EPSILON )
+inline bool D3DMath_IsZero( FLOAT a, FLOAT fTol = g_EPSILON )
{ return ( a <= 0.0f ) ? ( a >= -fTol ) : ( a <= fTol ); }