Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

branches/atmosphere_engine:

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
14
15class RainEffect : public WeatherEffect
16{
17  public:
18    RainEffect(const TiXmlElement* root = NULL);
19    virtual ~RainEffect();
20
21    virtual void loadParams(const TiXmlElement* root);
22
23    virtual bool init();
24
25    virtual bool activate();
26    virtual bool deactivate();
27
28    virtual void draw() const;
29
30//     inline void setRainMode(const std::string& mode) { this->rainMode = this->stringToRainMode(mode); }
31//     inline void setRainDensity(float density) { this->rainDensity = density; }
32//     inline void setRainRange(float start, float end) { this->rainStart = start; this->rainEnd = end; }
33//     inline void setRainColor(float r, float g, float b) { this->colorVector = Vector(r, g, b); }
34
35  private:
36//     GLint                   rainMode;
37//     GLfloat                 rainDensity;
38//     GLfloat                 rainStart;
39//     GLfloat                 rainEnd;
40//     Vector                  colorVector;
41};
42
43
44#endif  /* _RAIN_EFFECT */
Note: See TracBrowser for help on using the repository browser.