Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2006, 2:43:13 PM (18 years ago)
Author:
patrick
Message:

collision reaction revisited: starting end run

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/coll_rect/src/lib/collision_reaction/collision_tube.cc

    r9939 r9980  
    120120  {
    121121    // for all collisions:
    122     std::vector<Collision*>::iterator collisions = this->_collisionList.begin();
    123     for(; collisions < this->_collisionList.end(); collisions++)
     122    CollisionIterator ci = this->_collisionList.begin();
     123    for(; ci < this->_collisionList.end(); ++ci)
    124124    {
     125      // check if entity A is subscibed for this event
     126      (*ci)->getEntityA()->
    125127
     128      // check if entity B is subscribed for this event
    126129
    127       // for all collision events of each collision:
    128       Collision::iterator events = (*collisions)->begin();
    129       for(; events < (*collisions)->end(); events++)
    130       {
    131 
    132       }
    133130    }
    134131  }
Note: See TracChangeset for help on using the changeset viewer.