OPparticleSystem.h¶
OPparticle¶
- OPvec3 Position
- OPvec3 Velocity
- OPfloat Angle
- OPfloat AngularVelo
- ui64 Life
- ui64 MaxLife
- OPvec4 Tint
- OPsprite* Animation
- ui8 CurrentFrame
_____ _ _
/ ____| | | |
| (___ | |_ _ __ _ _ ___| |_ ___
\___ \| __| '__| | | |/ __| __/ __|
____) | |_| | | |_| | (__| |_\__ \
|_____/ \__|_| \__,_|\___|\__|___/
OPparticleSys¶
- OPentHeap* heap
- OPparticle* particles
- OPtexture* texture
- OPeffect* effect
- OPvec2 uvScale
- OPfloat fps
- OPfloat timeElapsed
Globals¶
Functions¶
- void OPparticleUpdate ( OPparticle* p, OPtimer* timer )
- void OPparticleSysSpawn ( OPparticleSys* sys, OPparticle particle )
- void OPparticleSysInit ( OPeffect* effect )
- OPparticleSys* OPparticleSysCreate ( OPtexture* texture, ui16 count, OPeffect* effect )
- void OPparticleSysUpdate ( OPparticleSys* sys, OPtimer* timer )
- void OPparticleSysDestroy ( OPparticleSys* sys )
- void OPparticleSysDraw ( OPparticleSys* sys, OPcam* cam, void() ParticleTransform )