Changeset 4392 in orxonox.OLD for orxonox/trunk/src/lib/physics/physics_interface.cc
- Timestamp:
- May 30, 2005, 1:30:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/physics/physics_interface.cc
r4377 r4392 21 21 22 22 #include "physics_interface.h" 23 #include "physics_engine.h" 23 24 24 25 #include "field.h" … … 41 42 this->massChildren = 0; 42 43 this->forceSum = Vector(0, 0, 0); 44 45 PhysicsEngine::getInstance()->addPhysicsInterface(this); 43 46 } 44 47 … … 50 53 PhysicsInterface::~PhysicsInterface () 51 54 { 52 // delete what has to be deleted here55 PhysicsEngine::getInstance()->removePhysicsInterface(this); 53 56 } 54 57
Note: See TracChangeset
for help on using the changeset viewer.