Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4620 in orxonox.OLD for orxonox/trunk/src/world_entities


Ignore:
Timestamp:
Jun 13, 2005, 11:06:30 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: the Sky is farther now

Location:
orxonox/trunk/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/skybox.cc

    r4597 r4620  
    6868{
    6969  this->setClassID(CL_SKYBOX, "SkyBox");
     70
     71  this->size = 1900.0;
    7072
    7173  this->skyModel = NULL;
     
    8486void SkyBox::postInit(void)
    8587{
    86   this->setSize(1900.0);
    8788  this->rebuild();
    8889}
     
    161162{
    162163  this->size = size;
     164  this->rebuild();
    163165}
    164166
  • orxonox/trunk/src/world_entities/skybox.h

    r4597 r4620  
    3434  void setSize(float size);
    3535  /** \brief assumes jpg as input-format */
    36   void setTexture(const char* name) { setTextureAndType (name, "jpg");};
     36  void setTexture(const char* name) { setTextureAndType (name, "jpg"); };
    3737  void setTextureAndType(const char* name, const char* extension);
    3838  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.