MCPcopy Create free account
hub / github.com/FastLED/FastLED / setDampening

Method setDampening

src/fl/math/wave/wave_simulation_real.cpp.hpp:77–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void WaveSimulation1D_Real::setDampening(int damp) FL_NOEXCEPT {
78 mDampenening = damp;
79 mDampDecayQ15 = wave_detail::compute_damp_decay_q15(damp);
80}
81
82int WaveSimulation1D_Real::getDampenening() const { return mDampenening; }
83

Callers

nothing calls this directly

Calls 1

compute_damp_decay_q15Function · 0.85

Tested by

no test coverage detected