Changeset 4680 in orxonox.OLD for orxonox/trunk/src/world_entities/skybox.h
- Timestamp:
- Jun 24, 2005, 12:12:41 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/skybox.h
r4620 r4680 26 26 virtual ~SkyBox(); 27 27 28 void preInit(void); 29 28 30 void loadParams(const TiXmlElement* root); 29 31 30 void preInit(void);31 32 void postInit(void); 32 33 … … 35 36 /** \brief assumes jpg as input-format */ 36 37 void setTexture(const char* name) { setTextureAndType (name, "jpg"); }; 38 37 39 void setTextureAndType(const char* name, const char* extension); 38 void setTextures(const char* top, const char* bottom, const char* left, const char* right, const char* front, const char* back); 40 void setTextures(const char* top, const char* bottom, const char* left, 41 const char* right, const char* front, const char* back); 39 42 40 43 virtual void draw(); … … 43 46 void rebuild(); 44 47 45 Model* skyModel; //!< A Model for the Sky. This must not be the same as the Model from WorldEntity, because it is not alocated through the ResourceManager.46 48 Material** material; //!< Materials for the SkyBox. sorted by number (0-5) top, bottom, left, right, front, back 47 49 float size; //!< Size of the SkyBox. This should match the frustum maximum range.
Note: See TracChangeset
for help on using the changeset viewer.