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

Method setSpeed

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

Source from the content-addressed store, hash-verified

70}
71
72void WaveSimulation1D_Real::setSpeed(float something) {
73 // See constructor for clamp rationale.
74 mCourantSq = wave_detail::float_to_fixed(fl::clamp(something, 0.0f, 1.0f));
75}
76
77void WaveSimulation1D_Real::setDampening(int damp) FL_NOEXCEPT {
78 mDampenening = damp;

Callers

nothing calls this directly

Calls 2

float_to_fixedFunction · 0.85
clampFunction · 0.85

Tested by

no test coverage detected