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:
authorCampbell Barton <ideasman42@gmail.com>2015-07-10 21:39:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-10 21:39:27 +0300
commitf3d5af41725989506474fec32d093d8ecf06403a (patch)
tree0a03bc1030d0898427bb2c1fbad21a32804904d1 /source/blender/blenkernel/BKE_pbvh.h
parent0875cb07cce53610bdfce3ed486ac5b2ced5bc5c (diff)
Cleanup: use const for mesh functions
Diffstat (limited to 'source/blender/blenkernel/BKE_pbvh.h')
-rw-r--r--source/blender/blenkernel/BKE_pbvh.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_pbvh.h b/source/blender/blenkernel/BKE_pbvh.h
index 227994b73ee..9cefdd4f28e 100644
--- a/source/blender/blenkernel/BKE_pbvh.h
+++ b/source/blender/blenkernel/BKE_pbvh.h
@@ -59,8 +59,9 @@ typedef void (*BKE_pbvh_HitOccludedCallback)(PBVHNode *node, void *data, float *
/* Building */
PBVH *BKE_pbvh_new(void);
-void BKE_pbvh_build_mesh(PBVH *bvh, struct MFace *faces, struct MVert *verts,
- int totface, int totvert, struct CustomData *vdata);
+void BKE_pbvh_build_mesh(
+ PBVH *bvh, const struct MFace *faces, struct MVert *verts,
+ int totface, int totvert, struct CustomData *vdata);
void BKE_pbvh_build_grids(PBVH *bvh, struct CCGElem **grid_elems,
int totgrid,
struct CCGKey *key, void **gridfaces, struct DMFlagMat *flagmats,