Changeset 7370 in orxonox.OLD for trunk/src/lib/collision_detection
- Timestamp:
- Apr 26, 2006, 1:31:01 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/collision_detection/cd_engine.cc
r6316 r7370 106 106 //} 107 107 108 void CDEngine::checkCollisions( std::list<WorldEntity*>& list1, std::list<WorldEntity*>& list2)108 void CDEngine::checkCollisions(ObjectManager::EntityList& list1, ObjectManager::EntityList& list2) 109 109 { 110 110 BVTree* tree; 111 std::list<WorldEntity*>::iterator entity1, entity2, pre1, pre2;111 ObjectManager::EntityList::iterator entity1, entity2, pre1, pre2; 112 112 PRINTF(3)("checking for collisions\n"); 113 113 … … 195 195 196 196 197 void CDEngine::drawBV(const std::list<WorldEntity*>& drawList ) const198 { 199 std::list<WorldEntity*>::const_iterator entity;197 void CDEngine::drawBV(const ObjectManager::EntityList& drawList ) const 198 { 199 ObjectManager::EntityList::const_iterator entity; 200 200 for (entity = drawList.begin(); entity != drawList.end(); entity++) 201 201 if ((*entity)->isVisible())
Note: See TracChangeset
for help on using the changeset viewer.