Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 24, 2005, 12:12:41 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: WorldEntity now has the ability to return its FaceCounts

File:
1 edited

Legend:

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

    r4620 r4680  
    2626  virtual ~SkyBox();
    2727
     28  void preInit(void);
     29
    2830  void loadParams(const TiXmlElement* root);
    2931
    30   void preInit(void);
    3132  void postInit(void);
    3233
     
    3536  /** \brief assumes jpg as input-format */
    3637  void setTexture(const char* name) { setTextureAndType (name, "jpg"); };
     38
    3739  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);
    3942
    4043  virtual void draw();
     
    4346  void rebuild();
    4447
    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.
    4648  Material**      material;        //!< Materials for the SkyBox. sorted by number (0-5) top, bottom, left, right, front, back
    4749  float           size;            //!< Size of the SkyBox. This should match the frustum maximum range.
Note: See TracChangeset for help on using the changeset viewer.