6#include <brenta/node_components/particle_emitter_node_component.hpp>
7#include <brenta/renderer/opengl/framebuffer.hpp>
11void ParticleEmitterNodeComponent::update(
float delta_time)
14 this->emitter->update(delta_time);
17void ParticleEmitterNodeComponent::draw(
const glm::mat4& world_matrix)
24 if (
auto f = this->fb.lock())
25 this->emitter->render(f->width, f->height);