diff options
Diffstat (limited to 'particles.h')
| -rw-r--r-- | particles.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/particles.h b/particles.h index 2619fb1..226dbf2 100644 --- a/particles.h +++ b/particles.h @@ -31,31 +31,31 @@ #include <list> class Particles - { - public: - Particles(GLfloat alpha_dec, GLfloat alpha_min); - virtual ~Particles(); - - void add(GLfloat x1, GLfloat y1, GLfloat z1, - GLfloat x2, GLfloat y2, GLfloat z2, - GLfloat r, GLfloat g, GLfloat b); +{ +public: + Particles(GLfloat alpha_dec, GLfloat alpha_min); + virtual ~Particles(); - void draw(); - void update(); + void add(GLfloat x1, GLfloat y1, GLfloat z1, + GLfloat x2, GLfloat y2, GLfloat z2, + GLfloat r, GLfloat g, GLfloat b); - private: - struct Point - { - GLfloat r,g,b,a; - GLfloat x1,y1,z1; - GLfloat x2,y2,z2; - }; + void draw(); + void update(); - list<Point> m_list; - GLfloat m_alpha_dec; - GLfloat m_alpha_min; +private: + struct Point + { + GLfloat r,g,b,a; + GLfloat x1,y1,z1; + GLfloat x2,y2,z2; }; + list<Point> m_list; + GLfloat m_alpha_dec; + GLfloat m_alpha_min; +}; + #endif // END OF FILE // |
