diff -abBdpuNPr --exclude='*.svn' irrlicht-svn-ss/trunk/include/irrMath.h Irrlicht_starsonata/include/irrMath.h --- irrlicht-svn-ss/trunk/include/irrMath.h 2007-07-26 02:11:22.000000000 +0200 +++ Irrlicht_starsonata/include/irrMath.h 2007-11-30 08:54:38.000000000 +0100 @@ -116,7 +116,7 @@ namespace core //! point rounding errors into account inline bool equals(const f32 a, const f32 b, const f32 tolerance = ROUNDING_ERROR_32) { - return (a + tolerance > b) && (a - tolerance < b); + return (a + tolerance >= b) && (a - tolerance <= b); } //! returns if a float equals zero, taking floating