Changeset 4251 in orxonox.OLD for orxonox/branches/levelLoader/src/world_entities/skybox.cc
- Timestamp:
- May 21, 2005, 11:17:18 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelLoader/src/world_entities/skybox.cc
r4250 r4251 49 49 this->preInit(); 50 50 51 this->load(root); 52 53 this->postInit(); 54 } 55 56 void SkyBox::load(TiXmlElement* root) 57 { 51 58 LoadParam<SkyBox>(root, "Materialset", this, &SkyBox::setTexture); 52 53 this->postInit();54 59 } 55 60 … … 208 213 this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 0,0,0, 1,1,0, 3,2,0, 2,3,0); // right 209 214 this->skyModel->setMaterial(material[4]); 210 this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 1,0,5, 7,1,5, 5,2,5, 3,3, 6); // front215 this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 1,0,5, 7,1,5, 5,2,5, 3,3,5); // front 211 216 this->skyModel->setMaterial(material[5]); 212 217 this->skyModel->addFace (4, VERTEX_TEXCOORD_NORMAL, 6,0,4, 0,1,4, 2,2,4, 4,3,4); // back
Note: See TracChangeset
for help on using the changeset viewer.