Compile fixes
Added getOwnsBvh to btBvhTriangleMeshShape
This commit is contained in:
@@ -53,7 +53,9 @@ subject to the following restrictions:
|
||||
#endif
|
||||
|
||||
#if DBVT_USE_MEMMOVE
|
||||
#ifndef __CELLOS_LV2__
|
||||
#include <memory.h>
|
||||
#endif
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -399,7 +399,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
virtual void processAllOverlappingPairs(btOverlapCallback*,const btDispatcher* /*dispatcher*/)
|
||||
virtual void processAllOverlappingPairs(btOverlapCallback*,btDispatcher* /*dispatcher*/)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -408,7 +408,7 @@ void btCollisionWorld::objectQuerySingle(const btConvexShape* castShape,const bt
|
||||
btGjkEpaPenetrationDepthSolver gjkEpaPenetrationSolver;
|
||||
|
||||
bool result = false;
|
||||
|
||||
|
||||
btContinuousConvexCollision convexCaster1(castShape,convexShape,&simplexSolver,&gjkEpaPenetrationSolver);
|
||||
//btGjkConvexCast convexCaster2(castShape,convexShape,&simplexSolver);
|
||||
//btSubsimplexConvexCast convexCaster3(castShape,convexShape,&simplexSolver);
|
||||
|
||||
@@ -43,6 +43,11 @@ public:
|
||||
|
||||
virtual ~btBvhTriangleMeshShape();
|
||||
|
||||
bool getOwnsBvh () const
|
||||
{
|
||||
return m_ownsBvh;
|
||||
}
|
||||
|
||||
virtual int getShapeType() const
|
||||
{
|
||||
return TRIANGLE_MESH_SHAPE_PROXYTYPE;
|
||||
|
||||
Reference in New Issue
Block a user