summaryrefslogtreecommitdiffstats
path: root/core/math/triangle_mesh.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-19 19:32:51 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-19 19:32:51 +0100
commit4ca6a9809d54aafcb9887cec037ee1f3947fdf02 (patch)
tree52f3e5e5814217b1adbd7a2a369bf5d799482e86 /core/math/triangle_mesh.h
parent8b923163686d3141addaab3931d8875beb4f91d8 (diff)
parentc0083e431bb7bf66987f396cf9a62fa372d92fe9 (diff)
downloadredot-engine-4ca6a9809d54aafcb9887cec037ee1f3947fdf02.tar.gz
Merge pull request #44596 from KoBeWi/🧹🧹🧹
Cleanup unused engine code v2
Diffstat (limited to 'core/math/triangle_mesh.h')
-rw-r--r--core/math/triangle_mesh.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/math/triangle_mesh.h b/core/math/triangle_mesh.h
index 728fd600d5..24fc12dda9 100644
--- a/core/math/triangle_mesh.h
+++ b/core/math/triangle_mesh.h
@@ -84,9 +84,7 @@ public:
bool is_valid() const;
bool intersect_segment(const Vector3 &p_begin, const Vector3 &p_end, Vector3 &r_point, Vector3 &r_normal, int32_t *r_surf_index = nullptr) const;
bool intersect_ray(const Vector3 &p_begin, const Vector3 &p_dir, Vector3 &r_point, Vector3 &r_normal, int32_t *r_surf_index = nullptr) const;
- bool intersect_convex_shape(const Plane *p_planes, int p_plane_count, const Vector3 *p_points, int p_point_count) const;
bool inside_convex_shape(const Plane *p_planes, int p_plane_count, const Vector3 *p_points, int p_point_count, Vector3 p_scale = Vector3(1, 1, 1)) const;
- Vector3 get_area_normal(const AABB &p_aabb) const;
Vector<Face3> get_faces() const;
const Vector<Triangle> &get_triangles() const { return triangles; }