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

Merge pull request #83353 from Chubercik/expose_delaunay_3d

Expose 3D Delaunay tetrahedralization in `Geometry3D`
This commit is contained in:
Rémi Verschelde
2024-01-04 16:39:23 +01:00
4 changed files with 29 additions and 0 deletions

View File

@@ -337,6 +337,7 @@ public:
Vector<Vector3> segment_intersects_convex(const Vector3 &p_from, const Vector3 &p_to, const TypedArray<Plane> &p_planes);
Vector<Vector3> clip_polygon(const Vector<Vector3> &p_points, const Plane &p_plane);
Vector<int32_t> tetrahedralize_delaunay(const Vector<Vector3> &p_points);
Geometry3D() { singleton = this; }
};