From 5d6d2d850c9fee5ec37df7d354de370c1da1cead Mon Sep 17 00:00:00 2001 From: enn0x Date: Fri, 5 Oct 2012 20:57:20 +0000 Subject: [PATCH] bullet with double precision --- panda/src/bullet/bullet_includes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/panda/src/bullet/bullet_includes.h b/panda/src/bullet/bullet_includes.h index 5ea9af67f1..2bd5f0445b 100644 --- a/panda/src/bullet/bullet_includes.h +++ b/panda/src/bullet/bullet_includes.h @@ -17,6 +17,10 @@ #include "pandabase.h" +#ifdef STDFLOAT_DOUBLE +#define BT_USE_DOUBLE_PRECISION 1 +#endif + #include "btBulletDynamicsCommon.h" #ifndef CPPPARSER