(p2: number, i: number)
| 92 | } |
| 93 | |
| 94 | const add = (p2: number, i: number) => { |
| 95 | const coords: VegaDeckGl.Position[] = [[p1, q1], [p2, q1], [p2, q2], [p1, q2]]; |
| 96 | polygons.push({ |
| 97 | search: getSearch(axis, column, i), |
| 98 | polygon: vertical ? coords.map(xy => xy.reverse() as VegaDeckGl.Position) : coords, |
| 99 | }); |
| 100 | p1 = p2; |
| 101 | }; |
| 102 | |
| 103 | let p1 = domain.sourcePosition[dim]; |
| 104 | const q1 = domain.sourcePosition[vertical ? 0 : 1]; |
no outgoing calls
no test coverage detected