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
I saw that clipper library was added to external libraries. It seems to be used in Sprite for example.
Is it possible to write a wrapper to allow usage directly in GDSript?
It will allow polygon union, intersection, etc.... in 2D
Note that it's not 6.4.2 which is present in Godot's source currently. The code is taken from Angus Johnson's new Clipper2 (beta but looks stable), which adds additional features like polygon triangulation along with boolean operations.
I just wonder what are the requirements to make it more Godot-friendly, and possibly other implementation would be more suitable, currently I just combined the three modules into one: polygon clipping, offsetting and triangulating.
I saw that clipper library was added to external libraries. It seems to be used in Sprite for example.
Is it possible to write a wrapper to allow usage directly in GDSript?
It will allow polygon union, intersection, etc.... in 2D
Issue related #6740
Godot version:
3.2
OS/device including version:
All
Issue description:
N/A
Steps to reproduce:
N/A
Minimal reproduction project:
N/A
The text was updated successfully, but these errors were encountered: