Finally applied patch to removeChildShape from btCompoundShape

http://code.google.com/p/bullet/issues/detail?id=51
Thanks to Ola Røer Thorsen for the patch!
This commit is contained in:
erwin.coumans
2008-06-26 23:29:42 +00:00
parent 52de9fee03
commit 50d41b624b
4 changed files with 79 additions and 6 deletions

View File

@@ -188,8 +188,13 @@ btTransform::operator*(const btTransform& t) const
{
return btTransform(m_basis * t.m_basis,
(*this)(t.m_origin));
}
}
SIMD_FORCE_INLINE bool operator==(const btTransform& t1, const btTransform& t2)
{
return ( t1.getBasis() == t2.getBasis() &&
t1.getOrigin() == t2.getOrigin() );
}
#endif
@@ -198,3 +203,4 @@ btTransform::operator*(const btTransform& t) const