]> git.bts.cx Git - benzene.git/blob - src/bz/fx/particle_simulation_internal.h
Sprites
[benzene.git] / src / bz / fx / particle_simulation_internal.h
1 #ifndef BZ_FX_PARTICLE_SIMULATION_INTERNAL_H
2 #define BZ_FX_PARTICLE_SIMULATION_INTERNAL_H
3
4 #include <bz/fx/particle_simulation.h>
5
6 #include <bz/math/vector.h>
7 #include <bz/types/common.h>
8
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
13 struct BZParticleSimulation {
14 BZParticleSystemID system;
15
16 size_t maxParticles;
17 size_t nextParticle;
18 float time;
19
20 float *spawnTime;
21 float *lifetime;
22 float *positionX;
23 float *positionY;
24 float *size;
25 float *baseAngle;
26 float *angle;
27 float *color;
28 float *alpha;
29 void **userData;
30 };
31
32 #ifdef __cplusplus
33 }
34 #endif
35
36 #endif