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>2016-02-09 13:53:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-02-09 14:47:14 +0300
commitcaa16c1443dbac1a9b2ee7549c72717e1010787a (patch)
treead054686e4acf72772caddb7438a07c3ee78f824 /source/blender/blenlib/BLI_kdopbvh.h
parent337b718695c8b31dadc22438b9f1af40d225e0ad (diff)
BLI_kdopbvh: expose bvhtree_kdop_axes array
So future callbacks can make use of the axis index.
Diffstat (limited to 'source/blender/blenlib/BLI_kdopbvh.h')
-rw-r--r--source/blender/blenlib/BLI_kdopbvh.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_kdopbvh.h b/source/blender/blenlib/BLI_kdopbvh.h
index ea7c7cc6e22..7f63801699f 100644
--- a/source/blender/blenlib/BLI_kdopbvh.h
+++ b/source/blender/blenlib/BLI_kdopbvh.h
@@ -145,6 +145,10 @@ float BLI_bvhtree_bb_raycast(const float bv[6], const float light_start[3], cons
int BLI_bvhtree_range_query(BVHTree *tree, const float co[3], float radius,
BVHTree_RangeQuery callback, void *userdata);
+
+/* expose for bvh callbacks to use */
+extern const float bvhtree_kdop_axes[13][3];
+
#ifdef __cplusplus
}
#endif