We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93717cc commit 8467069Copy full SHA for 8467069
src/index.js
@@ -307,15 +307,15 @@ function mapLowerToCapital(path) {
307
}
308
309
function vectorToCapital({ x, y }) {
310
- return new ClipperLib.IntPoint(x, y);
+ return { X: x, Y: y };
311
312
313
function mapToRound(path) {
314
return path.map(roundVector);
315
316
317
function roundVector({ X, Y }) {
318
- return new ClipperLib.IntPoint(Math.round(X), Math.round(Y));
+ return new { X: Math.round(X), Y: Math.round(Y) };
319
320
321
function filterPathsDuplicates(path) {
0 commit comments