Changeset 7996 in orxonox.OLD for branches/cr/src/lib/collision_reaction
- Timestamp:
- May 30, 2006, 10:37:22 PM (18 years ago)
- Location:
- branches/cr/src/lib/collision_reaction
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cr/src/lib/collision_reaction/collision_handle.cc
r7989 r7996 73 73 74 74 // add element 75 this->targetList.push_back(target);75 this->targetList.push_back(10); 76 76 } 77 77 -
branches/cr/src/lib/collision_reaction/cr_engine.cc
r7967 r7996 90 90 // first clear all CollisionHandles 91 91 92 while( !this->collisionHandles.empty()) 92 vector<CollisionHandle*>::iterator it = this->collisionHandles.begin(); 93 for(; it < this->collisionHandles.end(); it++) 93 94 { 94 this->collisionHandles.front()->reset();95 delete this->collisionHandles.front();95 (*it)->reset(); 96 delete *it; 96 97 } 98 97 99 this->collisionHandles.clear(); 98 100 }
Note: See TracChangeset
for help on using the changeset viewer.