Changeset 4187 in orxonox.OLD for orxonox/branches
- Timestamp:
- May 15, 2005, 9:23:18 PM (20 years ago)
- Location:
- orxonox/branches/md2_loader/src
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/md2_loader/src/lib/graphics/importer/md2Model.cc
r4172 r4187 24 24 25 25 using namespace std; 26 27 28 sVec3D MD2Model2::anorms[NUM_VERTEX_NORMALS] = { 29 #include "anorms.h" 30 }; 31 32 float MD2Model2::anormsDots[SHADEDOT_QUANT][256] = { 33 #include "anormtab.h" 34 }; 35 36 static float *shadedots = MD2Model2::anormsDots[0]; 37 26 38 27 39 /******************************************************************************** -
orxonox/branches/md2_loader/src/world_entities/test_entity.cc
r4172 r4187 28 28 TestEntity::TestEntity () : WorldEntity() 29 29 { 30 //this->md2Model = new MD2Model();30 this->md2Model = new MD2Model(); 31 31 32 32 MD2Model2* model2 = new MD2Model2(); … … 46 46 void TestEntity::tick (float time) 47 47 { 48 //this->md2Model->tick(time);48 this->md2Model->tick(time); 49 49 } 50 50 … … 71 71 72 72 /* TESTGING TESTING TESTING */ 73 //this->material->select();73 this->material->select(); 74 74 //this->md2Model->draw(this->model); 75 //this->md2Model->animate();75 this->md2Model->animate(); 76 76 77 77 glPopMatrix();
Note: See TracChangeset
for help on using the changeset viewer.