Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 31, 2006, 7:12:41 PM (19 years ago)
Author:
patrick
Message:

cd: compiles again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/current_cd/src/world_entities/world_entity.cc

    r6909 r6911  
    204204 * @param depth the depth to calculate
    205205 */
    206 bool WorldEntity::buildObbTree(unsigned int depth)
    207 {
    208 <<<<<<< .working
     206bool WorldEntity::buildObbTree(int depth)
     207{
    209208  if (this->obbTree)
    210209    delete this->obbTree;
     
    212211  if (this->models[0] != NULL)
    213212  {
    214 =======
    215   if( this->model != NULL) {
    216 >>>>>>> .merge-right.r6905
    217     PRINTF(4)("creating obb tree\n");
    218 <<<<<<< .working
    219 
    220 
    221     this->obbTree = new OBBTree(depth, (sVec3D*)this->models[0]->getVertexArray(), this->models[0]->getVertexCount());
    222 =======
    223     //this->obbTree = new OBBTree(depth, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount());
    224     this->obbTree = new OBBTree(depth, *model->getModelInfo());
    225 >>>>>>> .merge-right.r6905
     213    this->obbTree = new OBBTree(depth, models[0]->getModelInfo());
    226214    return true;
    227215  }
     
    266254 * Implement behaviour like damage application or other miscellaneous collision stuff in this function
    267255 */
    268 void WorldEntity::collidesWith(const WorldEntity& entity, const Vector& location) const
     256void WorldEntity::collidesWith(WorldEntity* entity, const Vector& location)
    269257{
    270258  /**
Note: See TracChangeset for help on using the changeset viewer.