diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-26 12:58:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-26 12:58:17 +0400 |
commit | 4a1fdd80f938cbb20e9e433bf1fb22472e3acb29 (patch) | |
tree | 19f922c79858c230e256f9c42cfcfce18d85f69e /source/blender/render/intern/raytrace/svbvh.h | |
parent | ce4eb573017550c37e8119681a1e83c2e646c66f (diff) |
style cleanup: use NULL rather than 0 for raytrace code.
Diffstat (limited to 'source/blender/render/intern/raytrace/svbvh.h')
-rw-r--r-- | source/blender/render/intern/raytrace/svbvh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/raytrace/svbvh.h b/source/blender/render/intern/raytrace/svbvh.h index 8fb2db63df6..fba9bb9ad41 100644 --- a/source/blender/render/intern/raytrace/svbvh.h +++ b/source/blender/render/intern/raytrace/svbvh.h @@ -296,7 +296,7 @@ struct Reorganize_SVBVH { const static float def_bb[6] = { FLT_MAX, FLT_MAX, FLT_MAX, FLT_MIN, FLT_MIN, FLT_MIN }; alloc_childs--; - node->child[alloc_childs] = 0; + node->child[alloc_childs] = NULL; copy_bb(node->child_bb+alloc_childs*6, def_bb); } |