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

◆ draw() [2/2]

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

Definition at line 25 of file wave.h.

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