diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-07-14 08:22:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-07-14 08:22:15 +0400 |
commit | 3b81aae5c13b01305c5c1a5e868d7e29a8c08951 (patch) | |
tree | d0561a5a0340f196afa5dc488d15a801004b5c70 | |
parent | d9f39257f40d58caa53efcad112df9775f95d8bf (diff) |
BMesh: avoid redundant normalize comparing angles
-rw-r--r-- | source/blender/bmesh/tools/bmesh_bevel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/tools/bmesh_bevel.c b/source/blender/bmesh/tools/bmesh_bevel.c index c583464ab6d..634ac510e6c 100644 --- a/source/blender/bmesh/tools/bmesh_bevel.c +++ b/source/blender/bmesh/tools/bmesh_bevel.c @@ -1719,7 +1719,7 @@ static BoundVert *pipe_test(BevVert *bv) sub_v3_v3v3(dir3, BM_edge_other_vert(v3->ebev->e, bv->v)->co, bv->v->co); normalize_v3(dir1); normalize_v3(dir3); - if (angle_v3v3(dir1, dir3) < BEVEL_EPSILON_BIG) { + if (angle_normalized_v3v3(dir1, dir3) < BEVEL_EPSILON_BIG) { epipe = v1->ebev; break; } |