Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Apr 13, 2005, 6:54:35 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some more functionality to material
now it is possible to add an external Material, and it handles pointers instead of char-arrays

File:
1 edited

Legend:

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

    r3796 r3801  
    2626
    2727  void setSize(float size);
    28   void setTexture(char* fileName);
     28  void setTexture(char* top, char* bottom, char* left, char* right, char* front, char* back);
    2929
    3030  virtual void draw();
    3131
    32  private:
    33   Material *material;    //!< A Material for the Skybox.
     32 private:
     33  void rebuild();
     34
     35  Material **material;    //!< A Material for the Skybox.
    3436  float size;       //!< Radius of the Skybox. This should match the frustum maximum range.
    3537   
Note: See TracChangeset for help on using the changeset viewer.