Code cleanup: fix warning with clang.

This commit is contained in:
Brecht Van Lommel 2017-07-31 19:07:29 +02:00
parent f815aa01eb
commit 66110c6b98
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ static bool nearly_parallel(const float d1[3], const float d2[3])
float ang;
ang = angle_v3v3(d1, d2);
return (fabsf(ang) < BEVEL_EPSILON_ANG) || (fabsf(ang - M_PI) < BEVEL_EPSILON_ANG);
return (fabsf(ang) < BEVEL_EPSILON_ANG) || (fabsf(ang - (float)M_PI) < BEVEL_EPSILON_ANG);
}
/* Make a new BoundVert of the given kind, insert it at the end of the circular linked