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:
@@ -406,5 +406,11 @@ class btMatrix3x3 {
|
||||
}
|
||||
*/
|
||||
|
||||
SIMD_FORCE_INLINE bool operator==(const btMatrix3x3& m1, const btMatrix3x3& m2)
|
||||
{
|
||||
return ( m1[0][0] == m2[0][0] && m1[1][0] == m2[1][0] && m1[2][0] == m2[2][0] &&
|
||||
m1[0][1] == m2[0][1] && m1[1][1] == m2[1][1] && m1[2][1] == m2[2][1] &&
|
||||
m1[0][2] == m2[0][2] && m1[1][2] == m2[1][2] && m1[2][2] == m2[2][2] );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user