YourGameLib
|
#include <particles.h>
Public Member Functions | |
~Particles () | |
void | tick (float dt) override |
ticks the particle system | |
yourgame::gl::Geometry * | geo () |
GLsizei | numParticles () |
Public Member Functions inherited from yourgame::math::Particles | |
Particles (const Config cfg) | |
void | reset () |
Static Public Member Functions | |
static Particles * | make (const Config cfg, yourgame::gl::Geometry *geo) |
Additional Inherited Members | |
Public Attributes inherited from yourgame::math::Particles | |
Config | m_cfg |
std::vector< glm::vec4 > | m_positionData |
std::vector< float > | m_progressData |
yourgame::gl::Particles::~Particles | ( | ) |
yourgame::gl::Geometry * yourgame::gl::Particles::geo | ( | ) |
|
static |
GLsizei yourgame::gl::Particles::numParticles | ( | ) |
|
overridevirtual |