13 void Update(
float fTime);
19 static const int MAXPARTICLES = 500000;
22 float radius = 1.0f,
float gravity = 1.0f,
float Speed = 2.0f,
float max_age = 0.0f);
25 void AddParticles(
int n,
float x = 0,
float y = 0,
float z = 0);
26 void AddParticle(
float x = 0,
float y = 0,
float z = 0,
27 float vx = 0,
float vy = 0,
float vz = 0);
29 virtual bool RenderMesh(LPCSTR techniqueName =
"");
30 virtual bool Update(
float fTime,
float fRunTime);
35 std::list<raParticle> m_Particles;
virtual bool Update(float fTime, float fRunTime)
interface ID3DX11EffectMatrixVariable ID3DX11EffectMatrixVariable
virtual void SetupVertices()=0
virtual bool RenderMesh(LPCSTR techniqueName="")