Changeset 4621 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Jun 13, 2005, 2:29:41 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/skybox.cc
r4620 r4621 62 62 63 63 LoadParam<SkyBox>(root, "Materialset", this, &SkyBox::setTexture) 64 .describe("Sets the material on the SkyBox. The string must be the path relative to the data-dir, and without a trailing .jpg"); 64 .describe("Sets the material on the SkyBox. The string must be the path relative to the data-dir, and without a trailing .jpg"); 65 66 LoadParam<SkyBox>(root, "Size", this, &SkyBox::setSize) 67 .describe("Sets the Size of the SkyBox (normally this should be 90% of the maximal viewing Distance)."); 65 68 } 66 69 … … 69 72 this->setClassID(CL_SKYBOX, "SkyBox"); 70 73 71 this->size = 1 900.0;74 this->size = 100.0; 72 75 73 76 this->skyModel = NULL; … … 158 161 /** 159 162 \param size The new size of the SkyBox 163 164 * do not forget to rebuild the SkyBox after this. 160 165 */ 161 166 void SkyBox::setSize(float size) 162 167 { 163 168 this->size = size; 164 this->rebuild();165 169 } 166 170
Note: See TracChangeset
for help on using the changeset viewer.