Changeset 9980 in orxonox.OLD for branches/coll_rect/src/lib/collision_reaction/collision_tube.cc
- Timestamp:
- Dec 2, 2006, 2:43:13 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/coll_rect/src/lib/collision_reaction/collision_tube.cc
r9939 r9980 120 120 { 121 121 // for all collisions: 122 std::vector<Collision*>::iterator collisions= this->_collisionList.begin();123 for(; c ollisions < this->_collisionList.end(); collisions++)122 CollisionIterator ci = this->_collisionList.begin(); 123 for(; ci < this->_collisionList.end(); ++ci) 124 124 { 125 // check if entity A is subscibed for this event 126 (*ci)->getEntityA()-> 125 127 128 // check if entity B is subscribed for this event 126 129 127 // for all collision events of each collision:128 Collision::iterator events = (*collisions)->begin();129 for(; events < (*collisions)->end(); events++)130 {131 132 }133 130 } 134 131 }
Note: See TracChangeset
for help on using the changeset viewer.