Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/atmospheric_engine/src/lib/graphics/effects/volfog_effect.h @ 7557

Last change on this file since 7557 was 7557, checked in by amaechler, 18 years ago

branches/atmospheric_engine: volfog cleanup, still not working

File size: 676 bytes
Line 
1/**
2 * @file volfog_effect.h
3 */
4
5#ifndef _VOLFOG_EFFECT
6#define _VOLFOG_EFFECT
7
8#include "vector.h"
9
10#include "weather_effect.h"
11
12// Variables Necessary For FogCoordfEXT
13#define GL_FOG_COORDINATE_SOURCE_EXT  0x8450
14#define GL_FOG_COORDINATE_EXT         0x8451
15
16class VolFogEffect : public WeatherEffect
17{
18  public:
19    VolFogEffect(const TiXmlElement* root = NULL);
20    virtual ~VolFogEffect();
21
22    virtual void loadParams(const TiXmlElement* root);
23
24    virtual bool init();
25
26    virtual bool activate();
27    virtual bool deactivate();
28
29    virtual void draw() const;
30    virtual void tick(float dt);
31
32  private:
33    GLfloat fogColor[4];
34
35};
36
37
38#endif  /* _VOLFOG_EFFECT */
Note: See TracBrowser for help on using the repository browser.