Wrong macro parameter fixed
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@873 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
70621c9e63
commit
b437b0d0bd
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user