From 07e55e2a50ba78f9f0652e4b42ff833be2af63d6 Mon Sep 17 00:00:00 2001 From: Raziel <39106182+raziel5746@users.noreply.github.com> Date: Thu, 15 Oct 2020 12:29:11 +0300 Subject: [PATCH] "subjectPaths" should be "clipPaths" the ```clip``` constant is getting the coordinates of the ```subjectPaths``` instead of the ```clipPaths``` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 598d6f6..ed26f7c 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ clipper.Execute(ClipperLib.ClipType.ctIntersection, result); In ClipperJS ```javascript const subject = new Shape(subjectPaths, true); -const clip = new Shape(subjectPaths, true); +const clip = new Shape(clipPaths, true); const result = subject.intersect(clip);