Changeset 5882 in orxonox.OLD for branches/collision_detection/src/world_entities
- Timestamp:
- Dec 3, 2005, 1:31:23 AM (19 years ago)
- Location:
- branches/collision_detection/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/collision_detection/src/world_entities/environment.cc
r5500 r5882 38 38 this->loadModel("models/ships/bolido.obj"); 39 39 40 if(this->obbTree == NULL)41 this->obbTree = new OBBTree(4, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount());40 // if(this->obbTree == NULL) 41 // this->obbTree = new OBBTree(4, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount()); 42 42 } 43 43 -
branches/collision_detection/src/world_entities/test_entity.cc
r5500 r5882 37 37 // this->md2Model = new MD2Model("models/tris.md2", "models/tris.pcx"); 38 38 // this->md2Model = new MD2Model("models/goblin.md2", "maps/goblin.bmp"); 39 this->obbTree = new OBBTree(4, (sVec3D*)this->md2Model->data->pVertices, this->md2Model->data->numVertices);39 // this->obbTree = new OBBTree(4, (sVec3D*)this->md2Model->data->pVertices, this->md2Model->data->numVertices); 40 40 41 41 this->md2Model->setAnim(RUN);
Note: See TracChangeset
for help on using the changeset viewer.