Changeset 4620 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Jun 13, 2005, 11:06:30 AM (19 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/skybox.cc
r4597 r4620 68 68 { 69 69 this->setClassID(CL_SKYBOX, "SkyBox"); 70 71 this->size = 1900.0; 70 72 71 73 this->skyModel = NULL; … … 84 86 void SkyBox::postInit(void) 85 87 { 86 this->setSize(1900.0);87 88 this->rebuild(); 88 89 } … … 161 162 { 162 163 this->size = size; 164 this->rebuild(); 163 165 } 164 166 -
orxonox/trunk/src/world_entities/skybox.h
r4597 r4620 34 34 void setSize(float size); 35 35 /** \brief assumes jpg as input-format */ 36 void setTexture(const char* name) { setTextureAndType (name, "jpg"); };36 void setTexture(const char* name) { setTextureAndType (name, "jpg"); }; 37 37 void setTextureAndType(const char* name, const char* extension); 38 38 void setTextures(const char* top, const char* bottom, const char* left, const char* right, const char* front, const char* back);
Note: See TracChangeset
for help on using the changeset viewer.