diff options
author | Germano <germano.costa@ig.com.br> | 2018-05-09 02:00:51 +0300 |
---|---|---|
committer | Germano <germano.costa@ig.com.br> | 2018-05-09 02:00:51 +0300 |
commit | 7fd19bcbe17771c1150e938b95a2d148ca51ca54 (patch) | |
tree | 585dabfa92e5a8ac4f5ef2da6bbe926d97194a76 /source/blender/blenkernel/BKE_bvhutils.h | |
parent | 579c01da600ddc1b2567997d037c43ec472081f4 (diff) |
BKE: bvhutils: Port bvhtree_from_mesh_get to take a Mesh param instead of a DerivedMesh.
Differential Revision: https://developer.blender.org/D3227
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); |