Add support for broadphase acceleration of convex cast (re-use rayTest implementation with an added aabb min/max, zero for rays)

Add Concave Convexcast demo back in AllBulletDemos, and tweaked it a bit.
Fix view frustum of ForkLiftDemo (caused picking to fail)
Removed innerloop profiling for ray and convex casts, it hurts performance.
Set default #aabb's in CDTestFramework to 8192
This commit is contained in:
erwin.coumans
2008-11-19 00:38:29 +00:00
parent cb03329d06
commit 50344c4a23
18 changed files with 176 additions and 54 deletions

View File

@@ -31,8 +31,8 @@ subject to the following restrictions:
#include "BulletCollision/BroadphaseCollision/btDbvtBroadphase.h"
#include "LinearMath/btQuickprof.h"
//#define NUM_SAP_BOXES 8192
#define NUM_SAP_BOXES 16384
#define NUM_SAP_BOXES 8192
//#define NUM_SAP_BOXES 16384
//#define NUM_SAP_BOXES 1024
int percentUpdate = 100;