diff options
| author | Juan Linietsky | 2017-01-11 00:52:51 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-11 00:52:51 -0300 |
| commit | bc26f905817945300d397696330d1ab04a1af33c (patch) | |
| tree | d06338399c8ea410042f6631fb3db3efcc100b05 /core/math/triangle_mesh.h | |
| parent | 710692278d1353aad08bc7bceb655afc1d6c950c (diff) | |
| download | godot-bc26f905817945300d397696330d1ab04a1af33c.tar.gz godot-bc26f905817945300d397696330d1ab04a1af33c.tar.zst godot-bc26f905817945300d397696330d1ab04a1af33c.zip | |
Diffstat (limited to 'core/math/triangle_mesh.h')
| -rw-r--r-- | core/math/triangle_mesh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/math/triangle_mesh.h b/core/math/triangle_mesh.h index 37d32bd7e..65250c023 100644 --- a/core/math/triangle_mesh.h +++ b/core/math/triangle_mesh.h @@ -46,7 +46,7 @@ class TriangleMesh : public Reference { struct BVH { - AABB aabb; + Rect3 aabb; Vector3 center; //used for sorting int left; int right; @@ -88,7 +88,7 @@ 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; - Vector3 get_area_normal(const AABB& p_aabb) const; + Vector3 get_area_normal(const Rect3& p_aabb) const; PoolVector<Face3> get_faces() const; |
