Modify initial GJK support direction

This commit is contained in:
Daniel Chappuis 2016-07-06 06:48:19 +02:00
parent da9f6ae233
commit 9cc633fc67

View File

@ -33,7 +33,7 @@ using namespace reactphysics3d;
OverlappingPair::OverlappingPair(ProxyShape* shape1, ProxyShape* shape2,
int nbMaxContactManifolds, MemoryAllocator& memoryAllocator)
: mContactManifoldSet(shape1, shape2, memoryAllocator, nbMaxContactManifolds),
mCachedSeparatingAxis(1.0, 1.0, 1.0) {
mCachedSeparatingAxis(0.0, 1.0, 0.0) {
}