From 0cba4e6d6f5f4d53e281fa4299e5b2fbda368f26 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 24 Oct 2012 08:16:49 +0000 Subject: use smaller type for kdopbvh - this change was made as a size optimization, and I moved back to ints since there were many int comparisons. now define axis_t and an unsugned char. --- source/blender/blenlib/BLI_kdopbvh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenlib/BLI_kdopbvh.h') diff --git a/source/blender/blenlib/BLI_kdopbvh.h b/source/blender/blenlib/BLI_kdopbvh.h index 8d0d4943ebe..8441413fba9 100644 --- a/source/blender/blenlib/BLI_kdopbvh.h +++ b/source/blender/blenlib/BLI_kdopbvh.h @@ -97,7 +97,7 @@ void BLI_bvhtree_update_tree(BVHTree *tree); /* collision/overlap: check two trees if they overlap, alloc's *overlap with length of the int return value */ BVHTreeOverlap *BLI_bvhtree_overlap(BVHTree *tree1, BVHTree *tree2, unsigned int *result); -float BLI_bvhtree_getepsilon(BVHTree *tree); +float BLI_bvhtree_getepsilon(const BVHTree *tree); /* find nearest node to the given coordinates * (if nearest is given it will only search nodes where square distance is smaller than nearest->dist) */ -- cgit v1.2.3