From b437b0d0bdd0a306aed7b9e743713b982fb1af38 Mon Sep 17 00:00:00 2001 From: hybrid Date: Wed, 29 Aug 2007 16:24:26 +0000 Subject: [PATCH] Wrong macro parameter fixed git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@873 dfc29bdd-3216-0410-991c-e03cc46cb475 --- include/irrMath.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/irrMath.h b/include/irrMath.h index cd618f3d..58262596 100644 --- a/include/irrMath.h +++ b/include/irrMath.h @@ -190,12 +190,12 @@ namespace core // only same sign #define F32_A_GREATER_B(a,b) (F32_AS_S32((a)) > F32_AS_S32((b))) #else - #define F32_LOWER_0(f) ((f) < 0.0f) - #define F32_LOWER_EQUAL_0(f) ((f) <= 0.0f) - #define F32_GREATER_0(f) ((f) > 0.0f) - #define F32_GREATER_EQUAL_0(f) ((f) >= 0.0f) - #define F32_EQUAL_1(f) ((f) == 1.0f) - #define F32_EQUAL_0(f) ((f) == 0.0f) + #define F32_LOWER_0(n) ((n) < 0.0f) + #define F32_LOWER_EQUAL_0(n) ((n) <= 0.0f) + #define F32_GREATER_0(n) ((n) > 0.0f) + #define F32_GREATER_EQUAL_0(n) ((n) >= 0.0f) + #define F32_EQUAL_1(n) ((n) == 1.0f) + #define F32_EQUAL_0(n) ((n) == 0.0f) #define F32_A_GREATER_B(a,b) ((a) > (b)) #endif