FastLED 3.9.15
Loading...
Searching...
No Matches

◆ setf()

void fl::WaveSimulation2D::setf ( size_t x,
size_t y,
float value )

Definition at line 153 of file wave_simulation.cpp.

153 {
154 if (!has(x, y))
155 return;
156
157 int16_t v16 = wave_detail::float_to_fixed(value);
158 seti16(x, y, v16);
159}
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:80
uint32_t y[NUM_LAYERS]
Definition Fire2023.ino:81
void seti16(size_t x, size_t y, int16_t value)
bool has(size_t x, size_t y) const
int16_t float_to_fixed(float f)

References fl::wave_detail::float_to_fixed(), has(), seti16(), x, and y.

+ Here is the call graph for this function: