Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 14, 2005, 2:50:25 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/physics: physicsEngine works for particles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/physics/src/util/physics/physics_connection.cc

    r4182 r4183  
    1717
    1818#include "physics_connection.h"
    19 #include "field.h"
    20 #include "particle_system.h"
     19
     20#include "physics_engine.h"
    2121
    2222using namespace std;
     
    2929  this->particleSystem = particleSystem;
    3030  this->field = field;
     31
     32  PhysicsEngine::getInstance()->addConnection(this);
    3133}
    3234
     
    3840PhysicsConnection::~PhysicsConnection ()
    3941{
    40 
     42  PhysicsEngine::getInstance()->removeConnection(this);
    4143}
    4244
Note: See TracChangeset for help on using the changeset viewer.