ParticleEmitter.cpp 1.1 KB

123456789101112131415161718192021222324252627
  1. #include "ParticleEmitter.h"
  2. #include "Renderer.h"
  3. //=====================================================================================================================================
  4. // =
  5. //=====================================================================================================================================
  6. void ParticleEmitter::Particle::render()
  7. {
  8. glPushMatrix();
  9. R::multMatrix( transformationWspace );
  10. glBegin( GL_POINTS );
  11. glVertex3fv( &(Vec3(0.0))[0] );
  12. glEnd();
  13. glPopMatrix();
  14. }
  15. //=====================================================================================================================================
  16. // =
  17. //=====================================================================================================================================
  18. void ParticleEmitter::init( const char* filename )
  19. {
  20. }