You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
Have in mind that this is a very simple library which I'm not maintaining anymore, since I found the excellent js-angusj-clipper. It is really robust and I can wholeheartedly recommend it. Here is ofsetting documentation.
From I can see, with offset set to 1, it works as expected:
Of course if you increase offset to something larger than the polygon (in this case 3), library will go bonkers:
Hope that helps, cheers!
EDIT: Now I think I didn't really respond to your question. If the issue is that offset param is behaving differently, try changing the orientation of the polygon (or multiply offset by -1).
I applied it in the Threejs project and found that some of them were not extended but contracted.
(This is a Chinese translation)
The text was updated successfully, but these errors were encountered: