diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-11 11:42:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-11 11:56:56 +0300 |
commit | dfd8b38e0caf6f78fd86b1b7bd5d182218e65cb9 (patch) | |
tree | c588475e294480cad391378706870b7bf271980f /source/blender/blenlib/BLI_kdopbvh.h | |
parent | 558bea225296751b849572122d6202b4ab1fa1cf (diff) |
BLI_kdopbvh: add ifdef's for debugging info
Allow to quickly enable print & tree verify.
Diffstat (limited to 'source/blender/blenlib/BLI_kdopbvh.h')
-rw-r--r-- | source/blender/blenlib/BLI_kdopbvh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_kdopbvh.h b/source/blender/blenlib/BLI_kdopbvh.h index ba565fca522..564659ad21e 100644 --- a/source/blender/blenlib/BLI_kdopbvh.h +++ b/source/blender/blenlib/BLI_kdopbvh.h @@ -36,7 +36,7 @@ */ #ifdef __cplusplus -extern "C" { +extern "C" { #endif struct BVHTree; @@ -62,7 +62,7 @@ typedef struct BVHTreeNearest { int index; /* the index of the nearest found (untouched if none is found within a dist radius from the given coordinates) */ float co[3]; /* nearest coordinates (untouched it none is found within a dist radius from the given coordinates) */ float no[3]; /* normal at nearest coordinates (untouched it none is found within a dist radius from the given coordinates) */ - float dist_sq; /* squared distance to search arround */ + float dist_sq; /* squared distance to search around */ int flags; } BVHTreeNearest; |