updated autogenerated msvc projectfiles, moved destructor in CPP file, it was causing some random crash under msvc 6.0 (todo find out why)

This commit is contained in:
ejcoumans
2007-10-25 05:11:19 +00:00
parent 5f5dfcf6b8
commit d17a8dae0e
32 changed files with 246 additions and 164 deletions

View File

@@ -56,6 +56,27 @@ Real dts = 1.0 / 60.0;
GimpactConcaveDemo::~GimpactConcaveDemo()
{
delete m_dynamicsWorld;
delete m_indexVertexArrays;
delete m_trimeshShape;
delete m_indexVertexArrays2;
delete m_trimeshShape2;
delete m_gimpactCollisionCreateFunc;
delete m_collisionConfiguration;
delete m_dispatcher;
delete m_broadphase;
delete m_constraintSolver;
}
//------------------------------------------------------------------------------
///User can override this material combiner by implementing gContactAddedCallback and setting body0->m_collisionFlags |= btCollisionObject::customMaterialCallback;
inline btScalar calculateCombinedFriction(float friction0,float friction1)
@@ -280,6 +301,7 @@ void GimpactConcaveDemo::initGImpactCollision()
NUM_VERTICES,
(Real*) &gVertices[0],sizeof(Real)*3);
#ifdef BULLET_GIMPACT
#ifdef BULLET_GIMPACT_CONVEX_DECOMPOSITION
btGImpactConvexDecompositionShape * trimesh = new