Expose compute_convex_mesh_points function to GDScript.

This commit is contained in:
jitspoe
2023-06-30 07:25:03 -04:00
parent 46424488ed
commit 541b021ab6
3 changed files with 20 additions and 0 deletions

View File

@@ -318,6 +318,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);