diff options
| author | JFonS | 2018-05-06 20:49:22 +0200 |
|---|---|---|
| committer | JFonS | 2018-06-13 17:52:37 +0200 |
| commit | 9cd1c20f6aae87e34b45471271062127d385871e (patch) | |
| tree | 729745b76b9ef73006ad688bb04c18c3e9034886 /core/math/triangle_mesh.h | |
| parent | e9492308379dfc26cd8223ceeaa4c41f98426b56 (diff) | |
| download | godot-9cd1c20f6aae87e34b45471271062127d385871e.tar.gz godot-9cd1c20f6aae87e34b45471271062127d385871e.tar.zst godot-9cd1c20f6aae87e34b45471271062127d385871e.zip | |
Diffstat (limited to 'core/math/triangle_mesh.h')
| -rw-r--r-- | core/math/triangle_mesh.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/math/triangle_mesh.h b/core/math/triangle_mesh.h index 78de7ae7e..bf793fc50 100644 --- a/core/math/triangle_mesh.h +++ b/core/math/triangle_mesh.h @@ -89,6 +89,8 @@ public: bool is_valid() const; bool intersect_segment(const Vector3 &p_begin, const Vector3 &p_end, Vector3 &r_point, Vector3 &r_normal) const; bool intersect_ray(const Vector3 &p_begin, const Vector3 &p_dir, Vector3 &r_point, Vector3 &r_normal) const; + bool intersect_convex_shape(const Plane *p_planes, int p_plane_count) const; + bool inside_convex_shape(const Plane *p_planes, int p_plane_count, Vector3 p_scale = Vector3(1, 1, 1)) const; Vector3 get_area_normal(const AABB &p_aabb) const; PoolVector<Face3> get_faces() const; |
