attempt to support negative local scaling for btConvexHullShape, btConvexInternalShape-derived classes and btScaledBvhTriangleMeshShape

This commit is contained in:
erwin.coumans
2008-09-20 23:47:38 +00:00
parent 58f2747acf
commit 8db0285d4f
5 changed files with 95 additions and 69 deletions

View File

@@ -26,7 +26,7 @@ m_collisionMargin(CONVEX_DISTANCE_MARGIN)
void btConvexInternalShape::setLocalScaling(const btVector3& scaling)
{
m_localScaling = scaling;
m_localScaling = scaling.absolute();
}