home *** CD-ROM | disk | FTP | other *** search
/ Enter 2005 March / ENTER.ISO / files / fwp-0.0.6-win32-installer.exe / ParticleCluster.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-12-06  |  512 b   |  28 lines

  1. #ifndef __ParticleCluster_h__
  2. #define __ParticleCluster_h__
  3.  
  4. #include "vectormath.h"
  5.  
  6. class Particle{
  7. public:
  8.     vec3_t pos, vel;
  9.  
  10.     unsigned long spawntimeMillis, lifetimeMillis;
  11. };
  12.  
  13. class ParticleCluster{
  14. public:
  15.     unsigned long spawntimeMillis, lifetimeMillis;
  16.     float boundingSphereRadius;
  17.     vec3_t pos;
  18.     int importance;
  19.  
  20.     ParticleCluster(unsigned long lifetimeMillis);
  21.     virtual ~ParticleCluster()=0;
  22.  
  23.     virtual void render();
  24.     virtual void move();
  25. };
  26.  
  27. #endif    /* __ParticleCluster_h__ */
  28.