Changeset 7005 in orxonox.OLD for branches/current_cd/src/world_entities/world_entity.cc
- Timestamp:
- Feb 3, 2006, 9:34:57 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/current_cd/src/world_entities/world_entity.cc
r6911 r7005 211 211 if (this->models[0] != NULL) 212 212 { 213 this->obbTree = new OBBTree(depth, models[0]->getModelInfo() );213 this->obbTree = new OBBTree(depth, models[0]->getModelInfo(), this); 214 214 return true; 215 215 } … … 461 461 * @param drawMode the mode to draw this entity under 462 462 */ 463 void WorldEntity::drawBVTree( unsignedint depth, int drawMode) const463 void WorldEntity::drawBVTree(int depth, int drawMode) const 464 464 { 465 465 glMatrixMode(GL_MODELVIEW); … … 473 473 glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); 474 474 475 475 476 if (this->obbTree) 476 477 this->obbTree->drawBV(depth, drawMode); 478 479 477 480 glPopMatrix(); 478 481 }
Note: See TracChangeset
for help on using the changeset viewer.