debug drawing for ParallelPhysicsEnvironment

This commit is contained in:
ejcoumans
2006-07-05 05:22:09 +00:00
parent d2570694a9
commit faa1dc90be
6 changed files with 20 additions and 10 deletions

View File

@@ -13,7 +13,7 @@ subject to the following restrictions:
3. This notice may not be removed or altered from any source distribution.
*/
//#define USE_PARALLEL_DISPATCHER 1
#define USE_PARALLEL_DISPATCHER 1
#include "CcdPhysicsEnvironment.h"
@@ -111,8 +111,12 @@ CollisionShape* shapePtr[numShapes] =
///Please don't make the box sizes larger then 1000: the collision detection will be inaccurate.
///See http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=346
#define USE_GROUND_PLANE 1
#ifdef USE_GROUND_PLANE
new StaticPlaneShape(SimdVector3(0,1,0),10),
#else
new BoxShape (SimdVector3(450,10,450)),
//new StaticPlaneShape(SimdVector3(0,1,0),10),
#endif
new BoxShape (SimdVector3(CUBE_HALF_EXTENTS,CUBE_HALF_EXTENTS,CUBE_HALF_EXTENTS)),
new SphereShape (CUBE_HALF_EXTENTS- 0.05f),