fixed double precision build issues, thanks Alex Silverman, http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1434
This commit is contained in:
ejcoumans
2007-08-31 23:32:51 +00:00
parent 43d367d232
commit 0f7193c0f8
6 changed files with 24 additions and 5 deletions

View File

@@ -25,7 +25,12 @@ subject to the following restrictions:
#define PL_DECLARE_HANDLE(name) typedef struct name##__ { int unused; } *name
#ifdef BT_USE_DOUBLE_PRECISION
typedef double plReal;
#else
typedef float plReal;
#endif
typedef plReal plVector3[3];
typedef plReal plQuaternion[4];