mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
free these so it's easier to see other leaks in valgrind
This commit is contained in:
parent
7de15cda87
commit
7137b41375
1 changed files with 6 additions and 0 deletions
|
@ -29,6 +29,12 @@ PhysicsEngine::PhysicsEngine(const glm::vec3& offset)
|
|||
|
||||
PhysicsEngine::~PhysicsEngine() {
|
||||
// TODO: delete engine components... if we ever plan to create more than one instance
|
||||
delete _collisionConfig;
|
||||
delete _collisionDispatcher;
|
||||
delete _broadphaseFilter;
|
||||
delete _constraintSolver;
|
||||
delete _dynamicsWorld;
|
||||
// delete _ghostPairCallback;
|
||||
}
|
||||
|
||||
// begin EntitySimulation overrides
|
||||
|
|
Loading…
Reference in a new issue