diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_bvhutils.h')
-rw-r--r-- | source/blender/blenkernel/BKE_bvhutils.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_bvhutils.h b/source/blender/blenkernel/BKE_bvhutils.h index 1157e20d6ac..24f4765bd9e 100644 --- a/source/blender/blenkernel/BKE_bvhutils.h +++ b/source/blender/blenkernel/BKE_bvhutils.h @@ -157,6 +157,10 @@ BVHTree *bvhtree_from_mesh_get( struct BVHTreeFromMesh *data, struct DerivedMesh *mesh, const int type, const int tree_type); +BVHTree *BKE_bvhtree_from_mesh_get( + struct BVHTreeFromMesh *data, struct Mesh *mesh, + const int type, const int tree_type); + /** * Frees data allocated by a call to bvhtree_from_mesh_*. */ @@ -192,7 +196,6 @@ enum { BVHTree *bvhcache_find(BVHCache *cache, int type); bool bvhcache_has_tree(const BVHCache *cache, const BVHTree *tree); void bvhcache_insert(BVHCache **cache_p, BVHTree *tree, int type); -void bvhcache_init(BVHCache **cache_p); void bvhcache_free(BVHCache **cache_p); |