add getAabb for btSoftBody,

add btSoftBodyConcaveCollisionAlgorithm, and register algorithm
This commit is contained in:
erwin.coumans
2008-04-20 16:31:13 +00:00
parent 0a3baf93d6
commit 73a5643580
5 changed files with 495 additions and 11 deletions

View File

@@ -368,6 +368,12 @@ public:
const tLinkArray& getLinks() const;
tFaceArray& getFaces();
const tFaceArray& getFaces() const;
virtual void getAabb(btVector3& aabbMin,btVector3& aabbMax) const
{
aabbMin = m_bounds[0];
aabbMax = m_bounds[1];
}
//
// Cast