Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2006, 10:15:00 PM (19 years ago)
Author:
patrick
Message:

bsp: new ground collision attribute tripple

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/lib/graphics/importer/bsp_manager.cc

    r8218 r8219  
    4848//CREATE_FACTORY( BspManager, CL_BSP_MODEL);
    4949
    50 BspManager::BspManager()
    51 {
     50BspManager::BspManager(WorldEntity* parent)
     51{
     52  this->parent = parent;
    5253  /*// open a BSP file
    5354  this->bspFile = new BspFile();
     
    917918    // Return the normal here: Normal's stored in this->collPlane;
    918919   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);
    920921}
    921922
Note: See TracChangeset for help on using the changeset viewer.