(pixels, pxIndex, c)
| 617 | } |
| 618 | |
| 619 | function putColor(pixels, pxIndex, c) { |
| 620 | pixels[pxIndex] = c[0]; |
| 621 | pixels[pxIndex + 1] = c[1]; |
| 622 | pixels[pxIndex + 2] = c[2]; |
| 623 | pixels[pxIndex + 3] = Math.round(c[3] * 255); |
| 624 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…