From 697fbdabf10d956e0f13bfbc9414d3db40f0c535 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Sun, 10 Jun 2012 15:28:12 +0200 Subject: BOOL -> bool; additional fixes in constructors/destructors --- src/math/old/d3dmath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/math/old/d3dmath.h') 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 ); } -- cgit v1.2.3-1-g7c22