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>2012-06-28 16:32:06 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-28 16:32:06 +0400
commitc8c743b60947ca4a5ba85d66b2abccf60c504a53 (patch)
tree91b671281d032fe8a14827356c2d97e4cc25278b /source/blender/render
parent57b69abe0d3263c4f03d453d896ee9527c75d673 (diff)
code cleanup: compile with clang and quiet some warnings.
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/raytrace/bvh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/raytrace/bvh.h b/source/blender/render/intern/raytrace/bvh.h
index fab0bb94618..9318e1758a6 100644
--- a/source/blender/render/intern/raytrace/bvh.h
+++ b/source/blender/render/intern/raytrace/bvh.h
@@ -75,7 +75,7 @@ inline int test_bb_group4(__m128 *bb_group, const Isect *isec)
* Based on Tactical Optimization of Ray/Box Intersection, by Graham Fyffe
* [http://tog.acm.org/resources/RTNews/html/rtnv21n1.html#art9]
*/
-static int rayobject_bb_intersect_test(const Isect *isec, const float *_bb)
+static inline int rayobject_bb_intersect_test(const Isect *isec, const float *_bb)
{
const float *bb = _bb;