ParticleAPI 3.0.0
Performant particle system API in C++ for interactive graphics
Namespaces | Typedefs | Variables
pDeclarations.h File Reference
#include "Particle/pVec.h"

Go to the source code of this file.

Namespaces

namespace  PAPI
 PAPIClasses.h.
 

Typedefs

typedef unsigned int pdata_t
 
typedef void(* P_PARTICLE_CALLBACK) (struct Particle_t &particle, const pdata_t data)
 This is the type of the particle birth and death callback functions that you can register. More...
 
typedef void(* P_PARTICLE_CALLBACK_ACTION) (struct Particle_t &particle, const pdata_t data, const float dt)
 This is the type of the callback functions that you can register for the Callback() action. More...
 

Variables

const int P_VERSION = 300
 This is the version number of this release of the API. More...
 
const float P_MAXFLOAT = 1.0e16f
 A very large float value used as a default arg passed into functions. More...
 
const float P_EPS = 1e-3f
 A very small float value added to some physical calculations to dampen them and improve stability. More...