diff options
author | Hans Goudey <h.goudey@me.com> | 2022-05-22 14:05:12 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-05-22 14:05:12 +0300 |
commit | fff8f969def8e5de3c346b03187f6698b66d150d (patch) | |
tree | 923f00f744dbe3c2da46c23e4620364b887d33a1 /source/blender/blenkernel/intern | |
parent | fdb1f704687000b6f0923f3d3ceb3d5ab4b1592d (diff) |
Cleanup: Remove unused function
Mesh "MFace" is deprecated and shouldn't be used in any new code anyway.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/bvhutils.cc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/source/blender/blenkernel/intern/bvhutils.cc b/source/blender/blenkernel/intern/bvhutils.cc index 4d95cdd1e02..35c2039634a 100644 --- a/source/blender/blenkernel/intern/bvhutils.cc +++ b/source/blender/blenkernel/intern/bvhutils.cc @@ -967,31 +967,6 @@ static BVHTree *bvhtree_from_mesh_faces_create_tree(float epsilon, return tree; } -BVHTree *bvhtree_from_mesh_faces_ex(BVHTreeFromMesh *data, - const MVert *vert, - const MFace *face, - const int numFaces, - const BLI_bitmap *faces_mask, - int faces_num_active, - float epsilon, - int tree_type, - int axis) -{ - BVHTree *tree = nullptr; - tree = bvhtree_from_mesh_faces_create_tree( - epsilon, tree_type, axis, vert, face, numFaces, faces_mask, faces_num_active); - - bvhtree_balance(tree, false); - - if (data) { - /* Setup BVHTreeFromMesh */ - bvhtree_from_mesh_setup_data( - tree, BVHTREE_FROM_FACES, vert, nullptr, face, nullptr, nullptr, nullptr, data); - } - - return tree; -} - /** \} */ /* -------------------------------------------------------------------- */ |