Changeset 4240 in orxonox.OLD for orxonox/branches/levelLoader/src/world_entities/skybox.cc
- Timestamp:
- May 20, 2005, 3:12:51 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelLoader/src/world_entities/skybox.cc
r4136 r4240 59 59 60 60 // Model Loading 61 string = grabParameter( root, "materialset"); 62 if( string != NULL) 63 this->setTexture(string, "jpg"); 64 else 65 { 66 PRINTF(0)("SkyBox is missing a proper 'MaterialSet'\n"); 67 } 68 if( this->skyModel == NULL) 69 { 70 PRINTF(0)("SkyBox model '%s' could not be loaded\n", string); 71 } 61 LoadParam<SkyBox>(root, "Materialset", this, &SkyBox::setTexture); 62 72 63 this->postInit(); 73 64 }
Note: See TracChangeset
for help on using the changeset viewer.