Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jan 26, 2006, 2:39:31 PM (18 years ago)
Author:
bensch
Message:

Water is better now (but still quite Bad)

File:
1 edited

Legend:

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

    r6634 r6771  
    1212/* INCLUDES */
    1313#include "world_entity.h"
     14#include "material.h"
    1415
    15 /* FORWARD DECLARATION */
    16 class Material;
    17 class Texture;
     16enum SKY_SIDE
     17{
     18  SKY_TOP = 0,
     19  SKY_BOTTOM,
     20  SKY_LEFT,
     21  SKY_RIGHT,
     22  SKY_FRONT,
     23  SKY_BACK
     24};
    1825
    1926//! A Class to handle a SkyBox
     
    4653                           const char* right, const char* front, const char* back);
    4754
     55  GLuint getTexture(SKY_SIDE side) const { return (this->material[side]) ? this->material[side]->getDiffuseTexture(): 0; };
     56
    4857  static void enableCubeMap();
    4958  static void disableCubeMap();
Note: See TracChangeset for help on using the changeset viewer.