Changeset 8219 in orxonox.OLD for branches/bsp_model/src/lib/graphics/importer
- Timestamp:
- Jun 7, 2006, 10:15:00 PM (18 years ago)
- Location:
- branches/bsp_model/src/lib/graphics/importer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/bsp_manager.cc
r8218 r8219 48 48 //CREATE_FACTORY( BspManager, CL_BSP_MODEL); 49 49 50 BspManager::BspManager() 51 { 50 BspManager::BspManager(WorldEntity* parent) 51 { 52 this->parent = parent; 52 53 /*// open a BSP file 53 54 this->bspFile = new BspFile(); … … 917 918 // Return the normal here: Normal's stored in this->collPlane; 918 919 if(collision) 919 worldEntity->registerCollision(worldEntity, Vector(this->collPlane->x, this->collPlane->y, this->collPlane->z), out);920 worldEntity->registerCollision(worldEntity, this->parent, Vector(this->collPlane->x, this->collPlane->y, this->collPlane->z), out); 920 921 } 921 922 -
branches/bsp_model/src/lib/graphics/importer/bsp_manager.h
r8218 r8219 51 51 public: 52 52 // Constructors 53 BspManager( );53 BspManager(WorldEntity* parent); 54 54 55 55 BspManager(const char* fileName, float scale = 0.4f); … … 99 99 For example, if traceMins was (-100,-3,-15) and traceMaxs was (55,22,7), traceExtents */ 100 100 101 WorldEntity* parent; //!< the parent entity of the bspManager: interface to this 101 102 102 103 bool * alreadyVisible;
Note: See TracChangeset
for help on using the changeset viewer.