Changeset 4682 in orxonox.OLD for orxonox/trunk/src/world_entities/test_entity.cc
- Timestamp:
- Jun 24, 2005, 12:50:34 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/test_entity.cc
r4679 r4682 21 21 #include "model.h" 22 22 #include "md2Model.h" 23 #include "obb_tree.h" 23 24 24 25 using namespace std; … … 31 32 32 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); 33 35 this->md2Model->debug(); 34 36 } … … 72 74 this->getAbsDir().matrix (matrix); 73 75 glMultMatrixf((float*)matrix); 74 glScalef(0.2, 0.2, 0.2);75 76 this->md2Model->draw(); 76 77
Note: See TracChangeset
for help on using the changeset viewer.