diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-11-17 20:04:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-17 20:04:29 +0100 |
commit | 0968c8d2f65f7ac6e0d6b3718ee1028b229b3353 (patch) | |
tree | d2265ef6e3273658171104abe9b215f961d17495 /core/math/bsp_tree.cpp | |
parent | 1feeb3e1c8406caf5497d5fcb40820cbb2d0d165 (diff) | |
parent | d28763a4c1792dc00fde3d151eaea54f9cf2b8a9 (diff) |
Merge pull request #12982 from tagcup/aabb_rename
Rename Rect3 to AABB.
Diffstat (limited to 'core/math/bsp_tree.cpp')
-rw-r--r-- | core/math/bsp_tree.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/math/bsp_tree.cpp b/core/math/bsp_tree.cpp index be950568cf..bdc040160f 100644 --- a/core/math/bsp_tree.cpp +++ b/core/math/bsp_tree.cpp @@ -31,7 +31,7 @@ #include "error_macros.h" #include "print_string.h" -void BSP_Tree::from_aabb(const Rect3 &p_aabb) { +void BSP_Tree::from_aabb(const AABB &p_aabb) { planes.clear(); @@ -67,7 +67,7 @@ Vector<Plane> BSP_Tree::get_planes() const { return planes; } -Rect3 BSP_Tree::get_aabb() const { +AABB BSP_Tree::get_aabb() const { return aabb; } @@ -577,7 +577,7 @@ BSP_Tree::BSP_Tree(const PoolVector<Face3> &p_faces, real_t p_error_radius) { error_radius = p_error_radius; } -BSP_Tree::BSP_Tree(const Vector<Node> &p_nodes, const Vector<Plane> &p_planes, const Rect3 &p_aabb, real_t p_error_radius) +BSP_Tree::BSP_Tree(const Vector<Node> &p_nodes, const Vector<Plane> &p_planes, const AABB &p_aabb, real_t p_error_radius) : nodes(p_nodes), planes(p_planes), aabb(p_aabb), |