diff options
| author | Rémi Verschelde | 2017-01-14 12:26:56 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-01-14 14:52:23 +0100 |
| commit | 93ab45b6b5c4f8e0619e963156c983009d399a9d (patch) | |
| tree | 80e55993f29ad7bf502ef7388eef78114b2dc4ab /core/math/bsp_tree.cpp | |
| parent | 78e90ac60b81f17fdf8c319357f16962e92e6106 (diff) | |
| download | godot-93ab45b6b5c4f8e0619e963156c983009d399a9d.tar.gz godot-93ab45b6b5c4f8e0619e963156c983009d399a9d.tar.zst godot-93ab45b6b5c4f8e0619e963156c983009d399a9d.zip | |
Diffstat (limited to 'core/math/bsp_tree.cpp')
| -rw-r--r-- | core/math/bsp_tree.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/math/bsp_tree.cpp b/core/math/bsp_tree.cpp index b888b6b56..e2526f513 100644 --- a/core/math/bsp_tree.cpp +++ b/core/math/bsp_tree.cpp @@ -390,8 +390,10 @@ static int _bsp_create_node(const Face3 *p_faces,const Vector<int>& p_indices,Ve const Face3& f=p_faces[ indices[i] ]; - //if (f.get_plane().is_almost_like(divisor_plane)) - // continue; + /* + if (f.get_plane().is_almost_like(divisor_plane)) + continue; + */ int over_count=0; int under_count=0; @@ -546,7 +548,7 @@ BSP_Tree::BSP_Tree(const Variant& p_variant) { error_radius = d["error"]; aabb = d["aabb"]; -// int node_count = src_nodes.size(); + //int node_count = src_nodes.size(); nodes.resize(src_nodes.size()/3); PoolVector<int>::Read r = src_nodes.read(); |
