Changeset 4242 in orxonox.OLD for orxonox/branches/levelLoader/src/world_entities
- Timestamp:
- May 20, 2005, 3:55:19 AM (19 years ago)
- Location:
- orxonox/branches/levelLoader/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelLoader/src/world_entities/skybox.cc
r4240 r4242 56 56 this->preInit(); 57 57 58 const char* string;59 60 // Model Loading61 58 LoadParam<SkyBox>(root, "Materialset", this, &SkyBox::setTexture); 62 59 … … 107 104 "skybox_right.jpg", "skybox_front.jpg", "skybox_back.jpg"); 108 105 */ 109 void SkyBox::setTexture (const char* name, const char* extension)106 void SkyBox::setTextureAndType(const char* name, const char* extension) 110 107 { 111 108 char* top = new char[strlen(name)+strlen(extension)+ 10]; -
orxonox/branches/levelLoader/src/world_entities/skybox.h
r4240 r4242 32 32 void setSize(float size); 33 33 /** \brief assumes jpg as input-format */ 34 void setTexture(const char* name) { setTexture (name, "jpg");};35 void setTexture (const char* name, const char* extension);34 void setTexture(const char* name) { setTextureAndType (name, "jpg");}; 35 void setTextureAndType(const char* name, const char* extension); 36 36 void setTextures(const char* top, const char* bottom, const char* left, const char* right, const char* front, const char* back); 37 37
Note: See TracChangeset
for help on using the changeset viewer.