added ArcEmitter

This commit is contained in:
Josh Wilson 2006-11-13 00:47:48 +00:00
parent 409fc0d9a3
commit 7d12be589f
3 changed files with 9 additions and 5 deletions

View File

@ -12,7 +12,8 @@
baseParticle.I baseParticle.h baseParticleEmitter.I \
baseParticleEmitter.h baseParticleFactory.I \
baseParticleFactory.h baseParticleRenderer.I \
baseParticleRenderer.h boxEmitter.I boxEmitter.h \
baseParticleRenderer.h arcEmitter.I arcEmitter.h \
boxEmitter.I boxEmitter.h \
config_particlesystem.h discEmitter.I discEmitter.h \
geomParticleRenderer.I geomParticleRenderer.h lineEmitter.I \
lineEmitter.h lineParticleRenderer.I lineParticleRenderer.h \
@ -37,7 +38,7 @@
#define INCLUDED_SOURCES \
baseParticle.cxx baseParticleEmitter.cxx baseParticleFactory.cxx \
baseParticleRenderer.cxx boxEmitter.cxx \
baseParticleRenderer.cxx boxEmitter.cxx arcEmitter.cxx \
config_particlesystem.cxx discEmitter.cxx \
geomParticleRenderer.cxx lineEmitter.cxx \
lineParticleRenderer.cxx particleSystem.cxx \
@ -54,8 +55,9 @@
#define INSTALL_HEADERS \
baseParticle.I baseParticle.h baseParticleEmitter.I \
baseParticleEmitter.h baseParticleFactory.I baseParticleFactory.h \
baseParticleRenderer.I baseParticleRenderer.h boxEmitter.I \
boxEmitter.h config_particlesystem.h discEmitter.I discEmitter.h \
baseParticleRenderer.I baseParticleRenderer.h arcEmitter.I arcEmitter.h \
boxEmitter.I boxEmitter.h config_particlesystem.h \
discEmitter.I discEmitter.h \
emitters.h geomParticleRenderer.I geomParticleRenderer.h \
lineEmitter.I lineEmitter.h lineParticleRenderer.I \
lineParticleRenderer.h particleSystem.I particleSystem.h \

View File

@ -3,6 +3,7 @@
#include "baseParticleEmitter.cxx"
#include "baseParticleFactory.cxx"
#include "baseParticleRenderer.cxx"
#include "arcEmitter.cxx"
#include "boxEmitter.cxx"
#include "discEmitter.cxx"
#include "lineEmitter.cxx"

View File

@ -45,7 +45,7 @@ PUBLISHED:
virtual void output(ostream &out) const;
virtual void write(ostream &out, int indent=0) const;
private:
protected:
float _radius;
float _radius_spread;
@ -58,6 +58,7 @@ private:
float _cos_theta;
///////////////////////////////
private:
virtual void assign_initial_position(LPoint3f& pos);
virtual void assign_initial_velocity(LVector3f& vel);
};