Add API to construct an optimized BVH for btBvhTriangleMeshShape,
Thanks to Benoit see Issue 340 http://code.google.com/p/bullet/issues/detail?id=340#c0
This commit is contained in:
@@ -76,6 +76,8 @@ public:
|
||||
|
||||
void setOptimizedBvh(btOptimizedBvh* bvh, const btVector3& localScaling=btVector3(1,1,1));
|
||||
|
||||
void buildOptimizedBvh();
|
||||
|
||||
bool usesQuantizedAabbCompression() const
|
||||
{
|
||||
return m_useQuantizedAabbCompression;
|
||||
|
||||
Reference in New Issue
Block a user