Changeset 5042 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Aug 16, 2005, 8:28:04 PM (19 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/environment.cc
r5033 r5042 36 36 37 37 if(this->obbTree == NULL) 38 this->obbTree = new OBBTree( 5, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount());38 this->obbTree = new OBBTree(4, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount()); 39 39 } 40 40 -
orxonox/trunk/src/world_entities/npc.cc
r5034 r5042 34 34 this->loadModel("models/ships/bolido.obj"); 35 35 if(this->obbTree == NULL) 36 this->obbTree = new OBBTree( 5, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount());36 this->obbTree = new OBBTree(4, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount()); 37 37 } 38 38 -
orxonox/trunk/src/world_entities/world_entity.cc
r5033 r5042 74 74 this->model = (Model*)ResourceManager::getInstance()->load(fileName, OBJ, RP_CAMPAIGN); 75 75 PRINTF(4)("creating obb tree\n"); 76 this->obbTree = new OBBTree( 5, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount());76 this->obbTree = new OBBTree(4, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount()); 77 77 } 78 78 else
Note: See TracChangeset
for help on using the changeset viewer.