#ifndef _fire_hh_ #define _fire_hh_ #include #include #include #include "particle.hh" #include "particleengine.hh" class Fire { GLuint flow; GLfloat posX, posY, posZ; GLfloat angY, angX; GLint close; //how fast it is closing bool vis; std::list < Particle * > particles; static GLuint boundingBox; static GLuint boundingBoxW; public: // static void buildBoundingBox(); static void buildBoundingBox(); //absurt doesn't want to be alone in the .cc file hmm... void show(); bool visible(); void drawBounding(); Fire( GLfloat _posX, GLfloat _posY, GLfloat _posZ ); Fire( GLfloat _posX, GLfloat _posY, GLfloat _posZ, GLfloat _angY, GLfloat _angX ); void key(); void action(); virtual ~Fire() { } }; #endif