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

@@ -53,7 +53,7 @@ public:
virtual void processAllTriangles(btTriangleCallback* callback,const btVector3& aabbMin,const btVector3& aabbMax) const;
void refitTree();
void refitTree(const btVector3& aabbMin,const btVector3& aabbMax);
///for a fast incremental refit of parts of the tree. Note: the entire AABB of the tree will become more conservative, it never shrinks
void partialRefitTree(const btVector3& aabbMin,const btVector3& aabbMax);