OSX: Enable IRRLICHT_FAST_MATH

master
MoNTE48 2021-12-25 10:32:37 +01:00
parent 7f54b04a86
commit c60bfa0737
3 changed files with 5 additions and 4 deletions

View File

@ -864,8 +864,9 @@ currently only supports zip archives, though. */
/** Irrlicht should use approximate float and integer fpu techniques
precision will be lower but speed higher. currently X86 only
*/
#if !defined(_IRR_OSX_PLATFORM_) && !defined(_IRR_SOLARIS_PLATFORM_)
//#define IRRLICHT_FAST_MATH
//#if !defined(_IRR_OSX_PLATFORM_) && !defined(_IRR_SOLARIS_PLATFORM_)
#if !defined(_IRR_SOLARIS_PLATFORM_)
#define IRRLICHT_FAST_MATH
#ifdef NO_IRRLICHT_FAST_MATH
#undef IRRLICHT_FAST_MATH
#endif

View File

@ -8,7 +8,7 @@
#include "SoftwareDriver2_compile_config.h"
#include "IReferenceCounted.h"
#include "irrMath.h"
#include "irrMathFastCompat.h"
//#include "irrMathFastCompat.h"
#include "IImage.h"
#include "S2DVertex.h"
#include "rect.h"

View File

@ -12,7 +12,7 @@
#include "SoftwareDriver2_compile_config.h"
#include "irrMath.h"
#include "irrMathFastCompat.h"
//#include "irrMathFastCompat.h"
#include "CSoftwareTexture2.h"
#include "SMaterial.h"