Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jan 11, 2006, 12:21:42 PM (20 years ago)
Author:
bensch
Message:

trunk some work on cubeMap

File:
1 edited

Legend:

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

    r6341 r6470  
    1515/* FORWARD DECLARATION */
    1616class Material;
     17class Texture;
    1718
    1819//! A Class to handle a SkyBox
     
    4142                   const char* right, const char* front, const char* back);
    4243
     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
    4350  virtual int       writeBytes(const byte* data, int length, int sender);
    4451  virtual int       readBytes(byte* data, int maxLength, int * reciever);
     
    5057
    5158  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
    5261  float           size;            //!< Size of the SkyBox. This should match the frustum maximum range.
    5362  char*           textureName;     //!< Name of the Texture
Note: See TracChangeset for help on using the changeset viewer.