mirror of https://github.com/axmolengine/axmol.git
add macro to enable neon on IOS
This commit is contained in:
parent
62697bbb42
commit
e74b2f3164
|
@ -115,6 +115,10 @@ NS_CC_MATH_END
|
|||
|
||||
#define MATRIX_SIZE ( sizeof(float) * 16)
|
||||
|
||||
#ifdef __ARM_NEON__
|
||||
#define USE_NEON
|
||||
#endif
|
||||
|
||||
#ifdef USE_NEON
|
||||
#include "MathUtilNeon.inl"
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue