Changeset 8218 in orxonox.OLD for branches/bsp_model/src/lib
- Timestamp:
- Jun 7, 2006, 10:07:54 PM (19 years ago)
- Location:
- branches/bsp_model/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/collision_detection/cd_engine.cc
r8217 r8218 109 109 for( bspIterator = bspList->begin(); bspIterator != bspList->end(); bspIterator++) { 110 110 for(entityIterator = list1.begin(); entityIterator != list1.end(); entityIterator++) 111 ( static_cast<BspEntity*>(*bspIterator)->getBspManager())->checkCollision(*entityIterator);111 (dynamic_cast<BspEntity*>(*bspIterator)->getBspManager())->checkCollision(*entityIterator); 112 112 } 113 113 } -
branches/bsp_model/src/lib/graphics/importer/bsp_manager.cc
r8217 r8218 918 918 if(collision) 919 919 worldEntity->registerCollision(worldEntity, Vector(this->collPlane->x, this->collPlane->y, this->collPlane->z), out); 920 921 } 920 } 921 922 922 923 923 void BspManager::checkCollision(BspTreeNode* node, Vector* cam) -
branches/bsp_model/src/lib/graphics/importer/bsp_manager.h
r8217 r8218 64 64 65 65 66 void checkCollision(WorldEntity* worldEntity); /*!< WorldEntities use this function to check wheter they collided with the B SPEntity.66 void checkCollision(WorldEntity* worldEntity); /*!< WorldEntities use this function to check wheter they collided with the BspEntity. 67 67 If a collision has been detected, the collides-function of worldEntity will be called.*/ 68 68
Note: See TracChangeset
for help on using the changeset viewer.