Changeset 4378 in orxonox.OLD for orxonox/trunk/src/lib/physics/physics_connection.cc
- Timestamp:
- May 29, 2005, 2:02:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/physics/physics_connection.cc
r4377 r4378 26 26 using namespace std; 27 27 28 29 30 28 PhysicsConnection::PhysicsConnection(PhysicsInterface* subject, Field* field) 31 29 { … … 53 51 void PhysicsConnection::apply(const float& dt) const 54 52 { 55 switch(this->type) 56 { 57 case PCON_PhysIField: 58 59 break; 60 61 case PCON_PhysIPhysI: 53 if (likely(this->type == PCON_PhysIField)) 62 54 this->subject->applyField(this->field, dt); 63 break; 64 } 55 else ; 65 56 }
Note: See TracChangeset
for help on using the changeset viewer.