MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / gen_render_instances

Method gen_render_instances

plugins/animate/fire/fire.cpp:220–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218};
219
220void fire_node_t::gen_render_instances(
221 std::vector<wf::scene::render_instance_uptr>& instances,
222 wf::scene::damage_callback push_damage,
223 wf::output_t *output)
224{
225 instances.push_back(std::make_unique<fire_render_instance_t>(
226 this, push_damage, output));
227}
228
229static float fire_duration_mod_for_height(int height)
230{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected