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

◆ setSuperSample()

void fl::WaveSimulation2D::setSuperSample ( SuperSample factor)
inline

Definition at line 156 of file wave_simulation.h.

156 {
157 if (uint32_t(factor) == multiplier) {
158 return;
159 }
160 init(outerWidth, outerHeight, factor, sim->getSpeed(),
161 sim->getDampenening());
162 }
void init(uint32_t width, uint32_t height, SuperSample factor, float speed, int dampening)
fl::scoped_ptr< WaveSimulation2D_Real > sim

References init(), multiplier, outerHeight, outerWidth, and sim.

+ Here is the call graph for this function: