Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/atmospheric_engine/src/lib/graphics/effects/rain_effect.h @ 7561

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

branches/atmosphere_engine: rain_effect

File size: 1.1 KB
Line 
1/**
2 * @file rain_effect.h
3 */
4
5#ifndef _RAIN_EFFECT
6#define _RAIN_EFFECT
7
8// #include "vector.h"
9#include "particle_system.h"
10#include "material.h"
11
12#include "weather_effect.h"
13
14class RainEffect : public WeatherEffect
15{
16  public:
17    RainEffect(const TiXmlElement* root = NULL);
18    virtual ~RainEffect();
19
20    virtual void loadParams(const TiXmlElement* root);
21
22    virtual bool init();
23
24    virtual bool activate();
25    virtual bool deactivate();
26
27    virtual void draw() const;
28
29//     inline void setRainMode(const std::string& mode) { this->rainMode = this->stringToRainMode(mode); }
30//     inline void setRainDensity(float density) { this->rainDensity = density; }
31//     inline void setRainRange(float start, float end) { this->rainStart = start; this->rainEnd = end; }
32//     inline void setRainColor(float r, float g, float b) { this->colorVector = Vector(r, g, b); }
33
34  private:
35//     GLint                   rainMode;
36//     GLfloat                 rainDensity;
37//     GLfloat                 rainStart;
38//     GLfloat                 rainEnd;
39//     Vector                  colorVector;
40};
41
42
43#endif  /* _RAIN_EFFECT */
Note: See TracBrowser for help on using the repository browser.