From 25b8a95987a714263859d004a9be0cc504a976e4 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 12 Oct 2012 07:10:51 -0700 Subject: Check the distance against epsilon to determine if it matches --- OpenAL32/Include/alu.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index ef573d6f..d4339d96 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -16,6 +16,11 @@ #define F_PI (3.14159265358979323846f) /* pi */ #define F_PI_2 (1.57079632679489661923f) /* pi/2 */ +#ifndef FLT_EPSILON +#define FLT_EPSILON (1.19209290e-07f) +#endif + + #ifndef HAVE_POWF static __inline float powf(float x, float y) { return (float)pow(x, y); } -- cgit v1.2.3