1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Add method bind for Geometry2D.decompose_polygon_in_convex

This commit is contained in:
Mansur Isaev
2022-09-19 14:09:56 +04:00
parent c8a0912f36
commit 623e23c625
3 changed files with 20 additions and 0 deletions

View File

@@ -289,6 +289,7 @@ public:
Vector<int> triangulate_polygon(const Vector<Vector2> &p_polygon);
Vector<int> triangulate_delaunay(const Vector<Vector2> &p_points);
Vector<Point2> convex_hull(const Vector<Point2> &p_points);
TypedArray<PackedVector2Array> decompose_polygon_in_convex(const Vector<Vector2> &p_polygon);
enum PolyBooleanOperation {
OPERATION_UNION,