Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/atmospheric_engine/src/lib/graphics/effects/fog_effect.h @ 7381

Last change on this file since 7381 was 7381, checked in by hdavid, 18 years ago

branches/atmospheric_engine: renamed classes to WeatherEffect and SunEffect

File size: 1.1 KB
Line 
1/**
2 * @file fog_effect.h
3 */
4
5#ifndef _FOG_EFFECT
6#define _FOG_EFFECT
7
8#include "weather_effect.h"
9
10class FogEffect : public WeatherEffect
11{
12  public:
13    FogEffect(const TiXmlElement* root = NULL);
14    virtual ~FogEffect();
15
16    virtual void loadParams(const TiXmlElement* root);
17
18    virtual bool init();
19
20    virtual bool activate();
21    virtual bool deactivate();
22
23
24    void setTest(int test);
25
26    /*inline void setFogMode(const std::string& mode) { this->fogMode = this->stringToFogMode(mode); }
27    inline void setFogDensity(float density) { this->fogDensity = density; }
28    inline void setFogRange(float start, float end) { this->fogStart = start; this->fogEnd = end; }
29    inline void setFogColor(float r, float g, float b) { this->colorVector = Vector(r, g, b); }
30*/
31
32  private:
33    //GLint stringToFogMode(const std::string& mode);
34
35
36  private:
37   /* GLint                   fogMode;
38    GLfloat                 fogDensity;
39    GLfloat                 fogStart;
40    GLfloat                 fogEnd;
41    Vector                  colorVector;*/
42};
43
44
45#endif  /* _FOG_EFFECT */
Note: See TracBrowser for help on using the repository browser.