Merge pull request #78871 from jitspoe/master.pr_compute_convex_mesh_points

Expose `compute_convex_mesh_points` function to GDScript
This commit is contained in:
Rémi Verschelde
2023-08-16 09:11:53 +02:00
3 changed files with 20 additions and 0 deletions

View File

@ -320,6 +320,7 @@ protected:
public:
static Geometry3D *get_singleton();
Vector<Vector3> compute_convex_mesh_points(const TypedArray<Plane> &p_planes);
TypedArray<Plane> build_box_planes(const Vector3 &p_extents);
TypedArray<Plane> build_cylinder_planes(float p_radius, float p_height, int p_sides, Vector3::Axis p_axis = Vector3::AXIS_Z);
TypedArray<Plane> build_capsule_planes(float p_radius, float p_height, int p_sides, int p_lats, Vector3::Axis p_axis = Vector3::AXIS_Z);