Changeset 4158 in orxonox.OLD for orxonox/branches/md2_loader/src/world_entities
- Timestamp:
- May 11, 2005, 12:32:36 AM (20 years ago)
- Location:
- orxonox/branches/md2_loader/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/md2_loader/src/world_entities/test_entity.cc
r4157 r4158 45 45 this->model->materialList[i].texureId = i; 46 46 } 47 48 this->material = new Material("Sky"); 49 this->material->setDiffuseMap("../data/models/tris.pcx"); 50 this->material->setIllum(3); 51 this->material->setAmbient(1.0, 1.0, 1.0); 47 52 } 48 53 … … 76 81 //this->model->draw(); 77 82 /* TESTGING TESTING TESTING */ 83 this->material->select(); 78 84 this->md2Model->draw(this->model); 79 85 -
orxonox/branches/md2_loader/src/world_entities/test_entity.h
r4157 r4158 7 7 class MD2Model; 8 8 struct t3DModel; 9 class Material; 9 10 10 11 class TestEntity : public WorldEntity … … 29 30 30 31 unsigned int* textureArray; 32 Material* material; 31 33 32 34 };
Note: See TracChangeset
for help on using the changeset viewer.