demo cleanup part 2 (gimpact memory leaks)
This commit is contained in:
@@ -59,6 +59,7 @@ public:
|
||||
m_collisionConfiguration(NULL),
|
||||
m_dispatcher(NULL),
|
||||
m_broadphase(NULL),
|
||||
kinematicTorus(NULL),
|
||||
m_constraintSolver(NULL),
|
||||
m_gimpactCollisionCreateFunc(NULL),
|
||||
m_steps_done(0)
|
||||
@@ -99,6 +100,9 @@ public: ///data
|
||||
|
||||
#endif
|
||||
|
||||
//keep the collision shapes, for deletion/cleanup
|
||||
btAlignedObjectArray<btCollisionShape*> m_collisionShapes;
|
||||
|
||||
btTriangleIndexVertexArray *m_indexVertexArrays;
|
||||
btTriangleIndexVertexArray *m_indexVertexArrays2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user