removed the early out, it was not general

This commit is contained in:
erwin.coumans
2013-09-10 19:52:58 +00:00
parent 2bb26cbb7d
commit 6b3828d74b

View File

@@ -85,17 +85,6 @@ partId, int triangleIndex)
const btCollisionObject* ob = const_cast<btCollisionObject*>(m_triBodyWrap->getCollisionObject());
//aabb filter NOT is already applied (thanks to Danny Chapman)
// Quick check on AABB
// const btTransform& tr = ob->getWorldTransform();
if ( triangle[0].getZ() < m_aabbMin.getZ() &&
triangle[1].getZ() < m_aabbMin.getZ() &&
triangle[2].getZ() < m_aabbMin.getZ() )
{
return;
}
btCollisionAlgorithmConstructionInfo ci;
ci.m_dispatcher1 = m_dispatcher;