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-03-09 22:28:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-09 22:28:30 +0400
commit89a963fb7fdff543b77de790355b9dac3019bd33 (patch)
tree4e1d2245e20f8c21625e99d771776f66c233a0de /source/blender/render/intern/raytrace/vbvh.h
parentde4bd55e01bc574c13977537ace1a0901dcfcaf0 (diff)
style cleanup: comment blocks
Diffstat (limited to 'source/blender/render/intern/raytrace/vbvh.h')
-rw-r--r--source/blender/render/intern/raytrace/vbvh.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/source/blender/render/intern/raytrace/vbvh.h b/source/blender/render/intern/raytrace/vbvh.h
index ab6a1bbfd33..7d4d25c8d00 100644
--- a/source/blender/render/intern/raytrace/vbvh.h
+++ b/source/blender/render/intern/raytrace/vbvh.h
@@ -65,14 +65,17 @@ inline static void bvh_node_push_childs(Node *node, Isect *UNUSED(isec), Node **
{
while(child)
{
- //Skips BB tests on primitives
-/*
- if(is_leaf(child->child))
+ /* Skips BB tests on primitives */
+#if 0
+ if(is_leaf(child->child)) {
stack[stack_pos++] = child->child;
+ }
else
-*/
+#endif
+ {
stack[stack_pos++] = child;
-
+ }
+
child = child->sibling;
}
}
@@ -197,7 +200,7 @@ struct BuildBinaryVBVH
}
};
-/*
+#if 0
template<class Tree,class OldNode>
struct Reorganize_VBVH
{
@@ -242,4 +245,4 @@ struct Reorganize_VBVH
return node;
}
};
-*/
+#endif