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/blenlib | |
parent | 9087cb91d40824abfb939d15832b159a7b3b6d24 (diff) |
replace macros with math functions
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/scanfill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/scanfill.c b/source/blender/blenlib/intern/scanfill.c index 71ae8df7ba6..3c07156e68c 100644 --- a/source/blender/blenlib/intern/scanfill.c +++ b/source/blender/blenlib/intern/scanfill.c @@ -869,8 +869,8 @@ int BLI_edgefill(short mat_nr) if( compare_v3v3(v2, eve->co, COMPLIMIT)==0) { float inner = angle_v3v3v3(v1, v2, eve->co); - if (fabs(inner-M_PI) < limit || fabs(inner) < limit) { - eve = eve->next; + if (fabsf(inner-M_PI) < limit || fabsf(inner) < limit) { + eve = eve->next; continue; } |