From 3160a0555c6543bb29633e252b85e2d28a406bd8 Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Mon, 27 Jul 2009 06:28:47 +0000 Subject: [PATCH] Revert GIMPACT change (#define BULLET_TRIANGLE_COLLISION 1)after several reports that it doesn't work well Disable SIMD/SSE when using double precision on __APPLE__, thanks Ola for the report! http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?t=3878 --- src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h | 2 +- src/LinearMath/btScalar.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h b/src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h index 2a418de37..453472aa0 100644 --- a/src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h +++ b/src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h @@ -298,7 +298,7 @@ public: //algorithm details -#define BULLET_TRIANGLE_COLLISION 1 +//#define BULLET_TRIANGLE_COLLISION 1 #define GIMPACT_VS_PLANE_COLLISION 1 diff --git a/src/LinearMath/btScalar.h b/src/LinearMath/btScalar.h index 36f54b369..94d41a6df 100644 --- a/src/LinearMath/btScalar.h +++ b/src/LinearMath/btScalar.h @@ -128,7 +128,7 @@ inline int btGetVersion() #else //non-windows systems -#if (defined (__APPLE__) && defined (__i386__)) +#if (defined (__APPLE__) && defined (__i386__) && (!defined (BT_USE_DOUBLE_PRECISION))) #define BT_USE_SSE #include