diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-05 15:36:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-05 15:36:15 +0400 |
commit | 37026b12ec1047dd5f4637ad281f108a7963af83 (patch) | |
tree | b45d0b945f84dff6181fe26a464ddbfe0d127f6a /source/blender/render/intern/raytrace | |
parent | 36fc4e15f69f4150812408b32a9052017590eb8b (diff) |
Code cleanup: use bool for static methods
Diffstat (limited to 'source/blender/render/intern/raytrace')
-rw-r--r-- | source/blender/render/intern/raytrace/rayobject_octree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/raytrace/rayobject_octree.cpp b/source/blender/render/intern/raytrace/rayobject_octree.cpp index 2f668ba62d0..6182d066f68 100644 --- a/source/blender/render/intern/raytrace/rayobject_octree.cpp +++ b/source/blender/render/intern/raytrace/rayobject_octree.cpp @@ -223,7 +223,7 @@ static Node *addnode(Octree *oc) return oc->adrnode[index] + (oc->nodecount & 4095); } -static int face_in_node(RayFace *face, short x, short y, short z, float rtf[4][3]) +static bool face_in_node(RayFace *face, short x, short y, short z, float rtf[4][3]) { static float nor[3], d; float fx, fy, fz; |