Changeset 7328 in orxonox.OLD for trunk/src/world_entities/skybox.h
- Timestamp:
- Apr 17, 2006, 3:58:57 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/skybox.h
r7221 r7328 16 16 enum SKY_SIDE 17 17 { 18 SKY_TOP = 0, 18 SKY_BACK = 0, 19 SKY_FRONT, 19 20 SKY_BOTTOM, 21 SKY_TOP, 20 22 SKY_LEFT, 21 23 SKY_RIGHT, 22 SKY_FRONT,23 SKY_BACK24 24 }; 25 25 … … 47 47 48 48 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); 51 51 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); 54 54 55 55 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.