summaryrefslogtreecommitdiffstats
path: root/core/bind/core_bind.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-05-24 13:27:11 +0200
committerGitHub <noreply@github.com>2019-05-24 13:27:11 +0200
commit33239a5ada02ad05152fb4a0905261e8feddae9f (patch)
treec1efaa0fdfb3ec12392b1ebb3b07ebabb76b5d8d /core/bind/core_bind.h
parenteaff86f8bdcafa9fcd3a1d14ce916c06490a4c2e (diff)
parent24e9a881c0b5ec0c475e0992c723585ebcf1a570 (diff)
downloadredot-engine-33239a5ada02ad05152fb4a0905261e8feddae9f.tar.gz
Merge pull request #29127 from Xrayez/geometry-delaunay-bind
Expose 2D Delaunay triangulation in Geometry singleton
Diffstat (limited to 'core/bind/core_bind.h')
-rw-r--r--core/bind/core_bind.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h
index 561449f29e..d4fa3bc735 100644
--- a/core/bind/core_bind.h
+++ b/core/bind/core_bind.h
@@ -404,6 +404,7 @@ public:
bool is_polygon_clockwise(const Vector<Vector2> &p_polygon);
Vector<int> triangulate_polygon(const Vector<Vector2> &p_polygon);
+ Vector<int> triangulate_delaunay_2d(const Vector<Vector2> &p_points);
Vector<Point2> convex_hull_2d(const Vector<Point2> &p_points);
Vector<Vector3> clip_polygon(const Vector<Vector3> &p_points, const Plane &p_plane);