Changeset 4712 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Jun 26, 2005, 10:56:45 PM (20 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/environment.cc
r4710 r4712 35 35 this->model = (Model*)ResourceManager::getInstance()->load("models/reaplow.obj"/*"worlds/vulcania.obj"*/, OBJ, RP_CAMPAIGN); 36 36 37 this->obbTree = new OBBTree(1 0, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount());37 this->obbTree = new OBBTree(15, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount()); 38 38 } 39 39 -
orxonox/trunk/src/world_entities/test_entity.cc
r4682 r4712 32 32 33 33 this->md2Model = new MD2Model("models/tris.md2", "models/tris.pcx"); 34 this->obbTree = new OBBTree( 4, (sVec3D*)this->md2Model->data->pVertices, this->md2Model->data->numVertices);34 this->obbTree = new OBBTree(7, (sVec3D*)this->md2Model->data->pVertices, this->md2Model->data->numVertices); 35 35 this->md2Model->debug(); 36 36 }
Note: See TracChangeset
for help on using the changeset viewer.