The macro
|
#define SIMD_2_PI btScalar(2.0) * SIMD_PI |
is missing parentheses, and therefore
|
#define SIMD_DEGS_PER_RAD (btScalar(360.0) / SIMD_2_PI) |
and
|
SIMD_FORCE_INLINE btScalar btDegrees(btScalar x) { return x * SIMD_DEGS_PER_RAD; } |
are totally wrong.
The macro
cocos2d-x-3rd-party-libs-bin/bullet/include/bullet/LinearMath/btScalar.h
Line 440 in 59f0333
is missing parentheses, and therefore
cocos2d-x-3rd-party-libs-bin/bullet/include/bullet/LinearMath/btScalar.h
Line 443 in 59f0333
and
cocos2d-x-3rd-party-libs-bin/bullet/include/bullet/LinearMath/btScalar.h
Line 488 in 59f0333
are totally wrong.