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

◆ setSuperSample()

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

Definition at line 152 of file wave_simulation.h.

152 {
153 if (uint32_t(factor) == mMultiplier) {
154 return;
155 }
156 init(mOuterWidth, mOuterHeight, factor, mSim->getSpeed(),
157 mSim->getDampenening());
158 }
void init(uint32_t width, uint32_t height, SuperSample factor, float speed, int dampening)
fl::scoped_ptr< WaveSimulation2D_Real > mSim

References init(), mMultiplier, mOuterHeight, mOuterWidth, and mSim.

+ Here is the call graph for this function: