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

Method setf

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

Source from the content-addressed store, hash-verified

241}
242
243void WaveSimulation2D_Real::setf(fl::size x, fl::size y, float value) {
244 i16 v = wave_detail::float_to_fixed(value);
245 return seti16(x, y, v);
246}
247
248void WaveSimulation2D_Real::seti16(fl::size x, fl::size y, i16 value) {
249 if (x >= width || y >= height) {

Callers

nothing calls this directly

Calls 1

float_to_fixedFunction · 0.85

Tested by

no test coverage detected