Changeset 4377 in orxonox.OLD for orxonox/trunk/src/lib/physics/physics_connection.cc
- Timestamp:
- May 29, 2005, 1:24:40 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/physics/physics_connection.cc
r4375 r4377 28 28 29 29 30 PhysicsConnection::PhysicsConnection(P articleSystem* particleSystem, Field* field)30 PhysicsConnection::PhysicsConnection(PhysicsInterface* subject, Field* field) 31 31 { 32 this->type = PCON_P articlesField;33 this-> particleSystem = particleSystem;32 this->type = PCON_PhysIField; 33 this->subject = subject; 34 34 this->field = field; 35 35 … … 59 59 break; 60 60 61 case PCON_ParticlesField:62 this->particleSystem->applyField(dt, this->field);63 64 break;65 66 61 case PCON_PhysIPhysI: 67 62 this->subject->applyField(this->field, dt); 68 63 break; 69 64 }
Note: See TracChangeset
for help on using the changeset viewer.