replace macros with math functions

This commit is contained in:
2011-11-16 17:37:20 +00:00
parent 9087cb91d4
commit 707fcc42a3
12 changed files with 47 additions and 48 deletions

View File

@@ -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;
}