Explorar el Código

bullet with double precision

enn0x hace 13 años
padre
commit
5d6d2d850c
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      panda/src/bullet/bullet_includes.h

+ 4 - 0
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