(positions, corners)
| 60 | }; |
| 61 | |
| 62 | export const getMappedPositions = (positions, corners) => { |
| 63 | const mappedPositions = positions.map((position) => |
| 64 | getMappedPosition(position, corners) |
| 65 | ); |
| 66 | return mappedPositions; |
| 67 | }; |
| 68 | |
| 69 | export const getRotatedPosition = (position, origin, angle) => { |
| 70 | const [px, py] = position; |
no test coverage detected