Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7328 in orxonox.OLD for trunk/src/world_entities/skybox.h


Ignore:
Timestamp:
Apr 17, 2006, 3:58:57 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: sky is ok again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/skybox.h

    r7221 r7328  
    1616enum SKY_SIDE
    1717{
    18   SKY_TOP = 0,
     18  SKY_BACK = 0,
     19  SKY_FRONT,
    1920  SKY_BOTTOM,
     21  SKY_TOP,
    2022  SKY_LEFT,
    2123  SKY_RIGHT,
    22   SKY_FRONT,
    23   SKY_BACK
    2424};
    2525
     
    4747
    4848  void setTextureAndType(const std::string& name, const std::string& extension);
    49   void setTextures(const std::string& top, const std::string& bottom, const std::string& left,
    50                    const std::string& right, const std::string& front, const std::string& back);
     49  void setTextures(const std::string& negX, const std::string& posX, const std::string& negY,
     50                   const std::string& posY, const std::string& negZ, const std::string& posZ);
    5151
    52   void loadCubeMapTextures(const std::string& top, const std::string& bottom, const std::string& left,
    53                            const std::string& right, const std::string& front, const std::string& back);
     52  void loadCubeMapTextures(const std::string& negX, const std::string& posX, const std::string& negY,
     53                           const std::string& posY, const std::string& negZ, const std::string& posZ);
    5454
    5555  GLuint getTexture(SKY_SIDE side) const { return (this->material[side]) ? this->material[side]->getDiffuseTexture(): 0; };
Note: See TracChangeset for help on using the changeset viewer.