diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-16 21:37:20 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-16 21:37:20 +0400 |
commit | 707fcc42a390e91aedd858588c30d04fea43f0e6 (patch) | |
tree | 0d4c41dfc0fcc7af061b6ee252cfcab3fcf6d8fe /source/blender/modifiers/intern/MOD_edgesplit.c | |
parent | 9087cb91d40824abfb939d15832b159a7b3b6d24 (diff) |
replace macros with math functions
Diffstat (limited to 'source/blender/modifiers/intern/MOD_edgesplit.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_edgesplit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_edgesplit.c b/source/blender/modifiers/intern/MOD_edgesplit.c index 4b78592ffa6..22eaa41938d 100644 --- a/source/blender/modifiers/intern/MOD_edgesplit.c +++ b/source/blender/modifiers/intern/MOD_edgesplit.c @@ -92,7 +92,7 @@ static DerivedMesh *doEdgeSplit(DerivedMesh *dm, EdgeSplitModifierData *emd, Obj if (l->radial_next == l) continue; - edge_angle_cos = INPR(f->no, l->radial_next->f->no); + edge_angle_cos = dot_v3v3(f->no, l->radial_next->f->no); if (edge_angle_cos < threshold) { BMO_SetFlag(bm, l->e, EDGE_MARK); } |