| 9 | ) |
| 10 | |
| 11 | type Worker struct { |
| 12 | W, H int |
| 13 | Target *image.RGBA |
| 14 | Current *image.RGBA |
| 15 | Buffer *image.RGBA |
| 16 | Rasterizer *raster.Rasterizer |
| 17 | Lines []Scanline |
| 18 | Heatmap *Heatmap |
| 19 | Rnd *rand.Rand |
| 20 | Score float64 |
| 21 | Counter int |
| 22 | } |
| 23 | |
| 24 | func NewWorker(target *image.RGBA) *Worker { |
| 25 | w := target.Bounds().Size().X |
nothing calls this directly
no outgoing calls
no test coverage detected