| 13 | mInterpolationMode(mode), mGrid(new CRGB[fx2d->getNumLeds()]) {} // ok bare allocation (array new) |
| 14 | |
| 15 | void Fx2dTo1d::setFx2d(Fx2dPtr fx2d) { |
| 16 | mFx2d = fx2d; |
| 17 | // Reallocate grid buffer if needed |
| 18 | mGrid.reset(new CRGB[fx2d->getNumLeds()]); // ok bare allocation (array new) |
| 19 | } |
| 20 | |
| 21 | void Fx2dTo1d::draw(DrawContext context) { |
| 22 | // Step 1: Render 2D effect to internal grid |
nothing calls this directly
no test coverage detected