diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-10-10 00:39:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-10-10 00:44:03 +0400 |
commit | 30dab51c29e863d3f605343f6308c71d0a6d3ce1 (patch) | |
tree | 5bb2f3ca81cff63ac0529277114bb373ebb5424a /source/blender/blenkernel/BKE_pbvh.h | |
parent | ad4980ce5e411e094bd2ccb67dfab4d1fa697a83 (diff) |
Cleanup: use bool and const args
Diffstat (limited to 'source/blender/blenkernel/BKE_pbvh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_pbvh.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_pbvh.h b/source/blender/blenkernel/BKE_pbvh.h index 53e41c1dec8..c8c693fc342 100644 --- a/source/blender/blenkernel/BKE_pbvh.h +++ b/source/blender/blenkernel/BKE_pbvh.h @@ -89,9 +89,10 @@ void BKE_pbvh_search_gather(PBVH *bvh, * it's up to the callback to find the primitive within the leaves that is * hit first */ -void BKE_pbvh_raycast(PBVH *bvh, BKE_pbvh_HitOccludedCallback cb, void *data, - const float ray_start[3], const float ray_normal[3], - int original); +void BKE_pbvh_raycast( + PBVH *bvh, BKE_pbvh_HitOccludedCallback cb, void *data, + const float ray_start[3], const float ray_normal[3], + bool original); bool BKE_pbvh_node_raycast(PBVH *bvh, PBVHNode *node, float (*origco)[3], int use_origco, const float ray_start[3], const float ray_normal[3], |