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

◆ draw()

void DrawRasterToWaveSimulator::draw ( const vec2< int > & pt,
uint32_t index,
uint8_t value )
inline

Definition at line 25 of file wave.h.

25 {
26 float valuef = value / 255.0f;
27 int xx = pt.x;
28 int yy = pt.y;
29 mWaveFx->addf(xx, yy, valuef);
30 }
WaveEffect * mWaveFx
Definition wave.h:31

References mWaveFx, fl::vec2< T >::x, and fl::vec2< T >::y.