diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-08 16:55:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-08 16:55:05 +0400 |
commit | 357655af32204d5edf2b6257bd39168f3d1c9cc7 (patch) | |
tree | 870706a18937e071811b07afb4b8142e229c4408 /source/blender/render/intern/raytrace/vbvh.h | |
parent | 8238cd6992413d8d85e48b9b5dceabbbc49d1d1f (diff) |
use static functions for raycast functions.
Diffstat (limited to 'source/blender/render/intern/raytrace/vbvh.h')
-rw-r--r-- | source/blender/render/intern/raytrace/vbvh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/render/intern/raytrace/vbvh.h b/source/blender/render/intern/raytrace/vbvh.h index 9755bf89668..abccab5fc13 100644 --- a/source/blender/render/intern/raytrace/vbvh.h +++ b/source/blender/render/intern/raytrace/vbvh.h @@ -79,7 +79,7 @@ inline static void bvh_node_push_childs(Node *node, Isect *UNUSED(isec), Node ** template<class Node> -int count_childs(Node *parent) +static int count_childs(Node *parent) { int n = 0; for (Node *i = parent->child; i; i = i->sibling) { @@ -93,7 +93,7 @@ int count_childs(Node *parent) template<class Node> -void append_sibling(Node *node, Node *sibling) +static void append_sibling(Node *node, Node *sibling) { while (node->sibling) node = node->sibling; |