pass in reference to actual contact point in cache, rather then temporary value, should fix issue 53

http://code.google.com/p/bullet/issues/detail?id=53
Thanks Alex Silverman for reporting and suggested fix
Changed addContactPoint to lowercase
This commit is contained in:
erwin.coumans
2008-06-22 03:30:55 +00:00
parent 441c729169
commit d16c1b615f
4 changed files with 7 additions and 6 deletions

View File

@@ -150,7 +150,7 @@ bool ManifoldResultAddContactPoint(const btVector3& normalOnBInWorld,
(*gContactAddedCallback)(newPt,m_body0,m_partId0,m_index0,m_body1,m_partId1,m_index1);
}
*/
manifoldPtr->AddManifoldPoint(newPt);
manifoldPtr->addManifoldPoint(newPt);
return true;
}