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

◆ set()

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

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

118 {
119 if (x >= length) {
120 FL_WARN("warning X value too high");
121 return;
122 }
123 i16 *curr = (whichGrid == 0) ? grid1.data() : grid2.data();
125}
#define FL_WARN(X)
Definition log.h:276
constexpr int type_rank< T >::value

References 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: