#include <palFluid.h>
Public Member Functions | |
virtual void | AddParticle (Float x, Float y, Float z, Float vx, Float vy, Float vz)=0 |
virtual int | GetNumParticles ()=0 |
virtual palVector3 * | GetParticlePositions ()=0 |
virtual void | Finalize ()=0 |
virtual void palParticleFluid::AddParticle | ( | Float | x, | |
Float | y, | |||
Float | z, | |||
Float | vx, | |||
Float | vy, | |||
Float | vz | |||
) | [pure virtual] |
Adds a particle to the fluid.
x | The position (x) | |
y | The position (y) | |
z | The position (z) | |
vx | The velocity (x) | |
vy | The velocity (y) | |
vz | The velocity (z) |
virtual void palParticleFluid::Finalize | ( | ) | [pure virtual] |
Finalizes the construction of the fluid. This must be called after the fluid has been initialized, and all the particles have been added to the fluid.
virtual int palParticleFluid::GetNumParticles | ( | ) | [pure virtual] |
Gets the number of particles in the fluid.
virtual palVector3* palParticleFluid::GetParticlePositions | ( | ) | [pure virtual] |
Gets the particle positions in the fluid.