Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 3, 2006, 9:34:57 AM (18 years ago)
Author:
patrick
Message:

cd: work flush

File:
1 edited

Legend:

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

    r6911 r7005  
    211211  if (this->models[0] != NULL)
    212212  {
    213     this->obbTree = new OBBTree(depth, models[0]->getModelInfo());
     213    this->obbTree = new OBBTree(depth, models[0]->getModelInfo(), this);
    214214    return true;
    215215  }
     
    461461 * @param drawMode the mode to draw this entity under
    462462 */
    463 void WorldEntity::drawBVTree(unsigned int depth, int drawMode) const
     463void WorldEntity::drawBVTree(int depth, int drawMode) const
    464464{
    465465  glMatrixMode(GL_MODELVIEW);
     
    473473  glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
    474474
     475
    475476  if (this->obbTree)
    476477    this->obbTree->drawBV(depth, drawMode);
     478
     479
    477480  glPopMatrix();
    478481}
Note: See TracChangeset for help on using the changeset viewer.