Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7969 in orxonox.OLD for branches/cr/src/lib/collision_reaction


Ignore:
Timestamp:
May 30, 2006, 1:33:09 AM (18 years ago)
Author:
patrick
Message:

cr: collision and collision events should now be registered correctly

File:
1 edited

Legend:

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

    r7967 r7969  
    120120void CollisionHandle::handleCollisions()
    121121{
    122 
    123   // collision reaction calculations
     122  // collision reaction calculations (for every collision there will be a reaction)
     123  vector<Collision*>::iterator it = this->collisionList.begin();
     124  for(; it < this->collisionList.end(); it++)
     125  {
     126    (*it)->handleCollisionEvents();
     127  }
    124128
    125129  // now set state to dispatched
Note: See TracChangeset for help on using the changeset viewer.