Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-05-11 00:33:36 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-05-11 00:33:36 +0400
commitf95f558a8c0a8ed2a9e1b4a642c6fe0b2b0d9e39 (patch)
treead634039352e7f254a7582c9c6fd63e353463fd2 /source/blender/blenlib/BLI_pbvh.h
parentaa77bbd38daff45725d7e726e89f2e681cee863d (diff)
Add access to mesh vertex customdata to the PBVH.
Diffstat (limited to 'source/blender/blenlib/BLI_pbvh.h')
-rw-r--r--source/blender/blenlib/BLI_pbvh.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_pbvh.h b/source/blender/blenlib/BLI_pbvh.h
index b69579128ba..b3e424b5916 100644
--- a/source/blender/blenlib/BLI_pbvh.h
+++ b/source/blender/blenlib/BLI_pbvh.h
@@ -30,6 +30,7 @@
struct CCGElem;
struct CCGKey;
+struct CustomData;
struct DMFlagMat;
struct DMGridAdjacency;
struct ListBase;
@@ -57,7 +58,7 @@ typedef void (*BLI_pbvh_HitOccludedCallback)(PBVHNode *node, void *data, float*
PBVH *BLI_pbvh_new(void);
void BLI_pbvh_build_mesh(PBVH *bvh, struct MFace *faces, struct MVert *verts,
- int totface, int totvert);
+ int totface, int totvert, struct CustomData *vdata);
void BLI_pbvh_build_grids(PBVH *bvh, struct CCGElem **grid_elems,
struct DMGridAdjacency *gridadj, int totgrid,
struct CCGKey *key, void **gridfaces, struct DMFlagMat *flagmats,