(a, b)
| 87 | }; |
| 88 | |
| 89 | export const getAddedCorners = (a, b) => { |
| 90 | const totals = []; |
| 91 | for (let i = 0; i < 4; i++) { |
| 92 | const total = addVector(a[i], b[i]); |
| 93 | totals.push(total); |
| 94 | } |
| 95 | return totals; |
| 96 | }; |
| 97 | |
| 98 | export const getRotatedToPositionCorners = (corners, number, position) => { |
| 99 | const center = getCornersCenter(corners); |
no test coverage detected