Changeset 8215 in orxonox.OLD for branches/bsp_model/src/lib/collision_detection
- Timestamp:
- Jun 7, 2006, 9:24:25 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/collision_detection/cd_engine.cc
r8213 r8215 99 99 void CDEngine::checkCollisionGround(std::list<WorldEntity*>& list1) 100 100 { 101 101 std::list<BaseObject*>::const_iterator bspIterator; 102 102 std::list<WorldEntity*>::iterator entityIterator; 103 std::list<BaseObject*>::const_iterator bspIterator; 104 const std::list<BaseObject*>* list = ClassList::getList(CL_BSP_MODEL); 103 const std::list<BaseObject*>* bspList = ClassList::getList(CL_BSP_MODEL); 104 if( bspList == NULL) 105 return; 105 106 106 107 // for all bsp managers check all entities 107 for( bspIterator = list->begin(); bspIterator != list->end(); bspIterator++) {108 for( bspIterator = bspList->begin(); bspIterator != bspList->end(); bspIterator++) { 108 109 for(entityIterator = list1.begin(); entityIterator != list1.end(); entityIterator++) 109 110 static_cast<BspManager*>(*bspIterator)->checkCollision(*entityIterator); … … 122 123 PRINT(0)("= CDEngine: Spawning Tree: Finished\n"); 123 124 PRINT(0)("=======================================================\n"); 124 125 125 } 126 126 … … 143 143 } 144 144 145 145 146 /** 146 147 * this draws the debug spawn tree
Note: See TracChangeset
for help on using the changeset viewer.