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

Method fire_node_t

plugins/animate/fire/fire.cpp:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 public:
38 std::unique_ptr<ParticleSystem> ps;
39 fire_node_t() : floating_inner_node_t(false)
40 {
41 ps = std::make_unique<ParticleSystem>(1);
42 ps->set_initer(
43 [=] (Particle& p)
44 {
45 init_particle_with_node(p, get_children_bounding_box(), progress_line);
46 });
47 }
48
49 static void init_particle_with_node(Particle& p,
50 wf::geometry_t bounding_box, double progress)

Callers

nothing calls this directly

Calls 1

set_initerMethod · 0.80

Tested by

no test coverage detected