]> git.bts.cx Git - benzene.git/blob - src/bz/fx/particle_system_internal.h
Initial version
[benzene.git] / src / bz / fx / particle_system_internal.h
1 #ifndef BZ_FX_PARTICLE_SYSTEM_INTERNAL_H
2 #define BZ_FX_PARTICLE_SYSTEM_INTERNAL_H
3
4 #include <bz/fx/particle_system.h>
5
6 #include <bz/math/matrix.h>
7 #include <bz/types/common.h>
8 #include <bz/types/identifier.h>
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 extern size_t bzFXSpawnParticleSystemParticles(BZParticleSystemID particleSystem, BZIdentifierHash eventIdentifier, const BZVector *spawnPosition, const float spawnAngle, size_t maxCount, size_t currentIdx, float time, float spawnTime[], float lifetime[], float positionX[], float positionY[], float size[], float baseAngle[], float angle[], float color[], float alpha[], void *userData[]);
15 extern void bzFXUpdateParticleSystemParticles(BZParticleSystemID particleSystem, size_t count, float time, float spawnTime[], float lifetime[], float positionX[], float positionY[], float size[], float baseAngle[], float angle[], float color[], float alpha[], void *userData[]);
16
17 #ifdef __cplusplus
18 }
19 #endif
20
21 #endif