refit tree needs an aabbMin/aabbMax

improved unquantization for quantized trees
reverted heightfield quantize
This commit is contained in:
ejcoumans
2008-02-28 02:55:25 +00:00
parent 94586390b6
commit 3d3d24afa9
9 changed files with 118 additions and 35 deletions

View File

@@ -75,9 +75,9 @@ void btBvhTriangleMeshShape::partialRefitTree(const btVector3& aabbMin,const btV
}
void btBvhTriangleMeshShape::refitTree()
void btBvhTriangleMeshShape::refitTree(const btVector3& aabbMin,const btVector3& aabbMax)
{
m_bvh->refit( m_meshInterface );
m_bvh->refit( m_meshInterface, aabbMin,aabbMax );
recalcLocalAabb();
}