diff options
| author | Wilson E. Alvarez | 2017-07-30 19:07:04 -0400 |
|---|---|---|
| committer | Wilson E. Alvarez | 2017-08-08 21:43:19 -0400 |
| commit | 6d112a68b685cde609d0d90b2c57f2db6a7b9df6 (patch) | |
| tree | 46a49619034e5e3f41fd3447c4c5727bfbfcdd64 /core/math/bsp_tree.cpp | |
| parent | 950b205609ce41ab4804196a125e91274eb20258 (diff) | |
| download | godot-6d112a68b685cde609d0d90b2c57f2db6a7b9df6.tar.gz godot-6d112a68b685cde609d0d90b2c57f2db6a7b9df6.tar.zst godot-6d112a68b685cde609d0d90b2c57f2db6a7b9df6.zip | |
Diffstat (limited to 'core/math/bsp_tree.cpp')
| -rw-r--r-- | core/math/bsp_tree.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/core/math/bsp_tree.cpp b/core/math/bsp_tree.cpp index 327a6017c..e22bc2b05 100644 --- a/core/math/bsp_tree.cpp +++ b/core/math/bsp_tree.cpp @@ -577,12 +577,11 @@ 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) { - - nodes = p_nodes; - planes = p_planes; - aabb = p_aabb; - 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) + : nodes(p_nodes), + planes(p_planes), + aabb(p_aabb), + error_radius(p_error_radius) { } BSP_Tree::~BSP_Tree() { |
