diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-27 02:45:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-27 02:45:06 +0400 |
commit | 36d25daa096484a99a689d42016f790d4399aa2c (patch) | |
tree | a3d7b93b0999e3b72639af3fa072f15388c5992d /source/blender/blenkernel/intern/curve.c | |
parent | 9f91fc10ab648c7a0a28b3b3ef87078675b497c7 (diff) |
style cleanup
Diffstat (limited to 'source/blender/blenkernel/intern/curve.c')
-rw-r--r-- | source/blender/blenkernel/intern/curve.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c index 853a55b49c2..56f2237a61f 100644 --- a/source/blender/blenkernel/intern/curve.c +++ b/source/blender/blenkernel/intern/curve.c @@ -1653,7 +1653,7 @@ static int cu_isectLL(const float v1[3], const float v2[3], const float v3[3], c } -static short bevelinside(BevList *bl1, BevList *bl2) +static bool bevelinside(BevList *bl1, BevList *bl2) { /* is bl2 INSIDE bl1 ? with left-right method and "lambda's" */ /* returns '1' if correct hole */ @@ -1701,9 +1701,7 @@ static short bevelinside(BevList *bl1, BevList *bl2) bevp++; } - if ( (links & 1) && (rechts & 1) ) - return 1; - return 0; + return (links & 1) && (rechts & 1); } |