Added convex cast query to collision world.

Thanks to John McCutchan (JMC)
This commit is contained in:
ejcoumans
2007-12-06 00:51:24 +00:00
parent d2973ed48a
commit 1245995c84
9 changed files with 497 additions and 121 deletions

View File

@@ -20,7 +20,14 @@ subject to the following restrictions:
#include "btVector3.h"
#include "btMinMax.h"
SIMD_FORCE_INLINE void AabbExpand (btVector3& aabbMin,
btVector3& aabbMax,
const btVector3& expansionMin,
const btVector3& expansionMax)
{
aabbMin = aabbMin + expansionMin;
aabbMax = aabbMax + expansionMax;
}
/// conservative test for overlap between two aabbs