Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CParticleEffectorForce Class Reference

Particle effector that applies a constant acceleration. More...

Inheritance diagram for CParticleEffectorForce:
Collaboration diagram for CParticleEffectorForce:

Public Member Functions

 CParticleEffectorForce (float x, float y, float z)
 
virtual void Evaluate (std::vector< SParticle > &particles, float dt)
 Updates all particles. More...
 
virtual CVector3D Max ()
 Returns maximum acceleration caused by this effector. More...
 
- Public Member Functions inherited from IParticleEffector
 IParticleEffector ()
 
virtual ~IParticleEffector ()
 
virtual void Evaluate (std::vector< SParticle > &particles, float dt)=0
 Updates all particles. More...
 
virtual CVector3D Max ()=0
 Returns maximum acceleration caused by this effector. More...
 

Private Attributes

CVector3D m_Accel
 

Detailed Description

Particle effector that applies a constant acceleration.

Constructor & Destructor Documentation

◆ CParticleEffectorForce()

CParticleEffectorForce::CParticleEffectorForce ( float  x,
float  y,
float  z 
)
inline

Member Function Documentation

◆ Evaluate()

virtual void CParticleEffectorForce::Evaluate ( std::vector< SParticle > &  particles,
float  dt 
)
inlinevirtual

Updates all particles.

Implements IParticleEffector.

◆ Max()

virtual CVector3D CParticleEffectorForce::Max ( )
inlinevirtual

Returns maximum acceleration caused by this effector.

Implements IParticleEffector.

Member Data Documentation

◆ m_Accel

CVector3D CParticleEffectorForce::m_Accel
private

The documentation for this class was generated from the following file: