(points)
| 468 | } |
| 469 | |
| 470 | getContourCenter(points) { |
| 471 | const sum = points.reduce((acc, p) => [acc[0] + p[0], acc[1] + p[1]], [0, 0]); |
| 472 | return [sum[0] / points.length, sum[1] / points.length]; |
| 473 | } |
| 474 | |
| 475 | drawTargetMarker(x, y) { |
| 476 | const ctx = this.ctx; |
no outgoing calls
no test coverage detected