diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-07 08:41:14 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-07 08:41:14 +0400 |
commit | 71e5edeb6a769e2fd861f5fe374e75391415402a (patch) | |
tree | 3de5b78bf14355bb00fc06383a357433c6bcadfa /source/blender/blenlib/intern/pbvh.c | |
parent | b563870fd992ec2539a0332e024ba4eda72a6d6e (diff) |
Code cleanup: use typedefs for DerivedMesh drawing callbacks.
There are still fairly bewildering set of callbacks being tossed
around, but it's at least a little less verbose now.
Diffstat (limited to 'source/blender/blenlib/intern/pbvh.c')
-rw-r--r-- | source/blender/blenlib/intern/pbvh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/pbvh.c b/source/blender/blenlib/intern/pbvh.c index 861219159e1..d0dc51d1a8a 100644 --- a/source/blender/blenlib/intern/pbvh.c +++ b/source/blender/blenlib/intern/pbvh.c @@ -1560,7 +1560,7 @@ int BLI_pbvh_node_planes_contain_AABB(PBVHNode *node, void *data) } void BLI_pbvh_draw(PBVH *bvh, float (*planes)[4], float (*face_nors)[3], - int (*setMaterial)(int, void *attribs)) + DMSetMaterial setMaterial) { PBVHNode **nodes; int totnode; |