Changeset 6771 in orxonox.OLD for trunk/src/world_entities/skybox.h
- Timestamp:
- Jan 26, 2006, 2:39:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/skybox.h
r6634 r6771 12 12 /* INCLUDES */ 13 13 #include "world_entity.h" 14 #include "material.h" 14 15 15 /* FORWARD DECLARATION */ 16 class Material; 17 class Texture; 16 enum SKY_SIDE 17 { 18 SKY_TOP = 0, 19 SKY_BOTTOM, 20 SKY_LEFT, 21 SKY_RIGHT, 22 SKY_FRONT, 23 SKY_BACK 24 }; 18 25 19 26 //! A Class to handle a SkyBox … … 46 53 const char* right, const char* front, const char* back); 47 54 55 GLuint getTexture(SKY_SIDE side) const { return (this->material[side]) ? this->material[side]->getDiffuseTexture(): 0; }; 56 48 57 static void enableCubeMap(); 49 58 static void disableCubeMap();
Note: See TracChangeset
for help on using the changeset viewer.