Changeset 6470 in orxonox.OLD for trunk/src/world_entities/skybox.h
- Timestamp:
- Jan 11, 2006, 12:21:42 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/skybox.h
r6341 r6470 15 15 /* FORWARD DECLARATION */ 16 16 class Material; 17 class Texture; 17 18 18 19 //! A Class to handle a SkyBox … … 41 42 const char* right, const char* front, const char* back); 42 43 44 void loadCubeMapTextures(const char* top, const char* bottom, const char* left, 45 const char* right, const char* front, const char* back); 46 47 static void enableCubeMap(); 48 static void disableCubeMap(); 49 43 50 virtual int writeBytes(const byte* data, int length, int sender); 44 51 virtual int readBytes(byte* data, int maxLength, int * reciever); … … 50 57 51 58 Material* material[6]; //!< Materials for the SkyBox. sorted by number (0-5) top, bottom, left, right, front, back 59 Texture* texture[6]; //!< Textures for the CubeMap. 60 52 61 float size; //!< Size of the SkyBox. This should match the frustum maximum range. 53 62 char* textureName; //!< Name of the Texture
Note: See TracChangeset
for help on using the changeset viewer.