Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8047 in orxonox.OLD for branches/cr/src/lib


Ignore:
Timestamp:
May 31, 2006, 10:36:17 PM (19 years ago)
Author:
patrick
Message:

cr: flush to switch platforms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cr/src/lib/collision_reaction/cr_object_damage.cc

    r8029 r8047  
    2020#include "cr_object_damage.h"
    2121
     22#include "physics_interface.h"
    2223
    2324using namespace std;
     
    5051{
    5152
     53  float mass;
     54  float velocity;
     55
    5256  const std::vector<CollisionEvent*>* collisionEvents = &(collision->getCollisionEvents());
    5357  std::vector<CollisionEvent*>::const_iterator it = collisionEvents->begin();
     
    5559  {
    5660    // go through the collisions and try to estimate the damage
    57 
     61    mass = (*it)->getEntityA()->getPhysicsInterface()->getMass();
    5862  }
    5963
Note: See TracChangeset for help on using the changeset viewer.