FastLED 3.10.8
Loading...
Searching...
No Matches

◆ set()

void fl::WaveSimulation1D_Real::set ( fl::size x,
float value )

Definition at line 121 of file wave_simulation_real.cpp.hpp.

121 {
122 if (x >= length) {
123 FL_WARN("warning X value too high");
124 return;
125 }
126 i16 *curr = (whichGrid == 0) ? grid1.data() : grid2.data();
128}
#define FL_WARN(...)
Definition log.h:437
i16 float_to_fixed(float f) FL_NO_EXCEPT
constexpr int type_rank< T >::value

References fl::FL_NO_EXCEPT, FL_WARN, fl::wave_detail::float_to_fixed(), grid1, grid2, length, fl::type_rank< T >::value, whichGrid, and fl::x.

+ Here is the call graph for this function: