fixed bug in PolyhedralConvexShape supportmapping, and better description for GJK max iteration exit
This commit is contained in:
1 parent
f1627677df
commit
804d99e392
2 files changed
+11
-6
No files matched your search
@@ -77,7 +77,7 @@ int curIter = 0;
|
||||
|
||||
while (true)
|
||||
{
|
||||
//rare failure case, perhaps deferate shapes?
|
||||
//degeneracy, this is typically due to invalid/uninitialized worldtransforms for a CollisionObject
|
||||
if (curIter++ > gGjkMaxIter)
|
||||
{
|
||||
#if defined(DEBUG) || defined (_DEBUG)
|
||||
|
||||
Reference in new issue
Block a user