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

◆ draw() [1/2]

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

Definition at line 24 of file wave.h.

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

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