diff options
Diffstat (limited to 'source/blender/freestyle/intern/winged_edge')
-rw-r--r-- | source/blender/freestyle/intern/winged_edge/Curvature.cpp | 3 | ||||
-rw-r--r-- | source/blender/freestyle/intern/winged_edge/WEdge.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/winged_edge/Curvature.cpp b/source/blender/freestyle/intern/winged_edge/Curvature.cpp index 4493080c8fb..4a910099bff 100644 --- a/source/blender/freestyle/intern/winged_edge/Curvature.cpp +++ b/source/blender/freestyle/intern/winged_edge/Curvature.cpp @@ -45,7 +45,6 @@ #include <assert.h> #include <cstdlib> // for malloc and free -#include <math.h> #include <set> #include <stack> @@ -54,7 +53,7 @@ #include "../geometry/normal_cycle.h" -#include "../system/FreestyleConfig.h" +#include "BLI_math.h" namespace Freestyle { diff --git a/source/blender/freestyle/intern/winged_edge/WEdge.h b/source/blender/freestyle/intern/winged_edge/WEdge.h index f0692aecd5b..50d1de5e595 100644 --- a/source/blender/freestyle/intern/winged_edge/WEdge.h +++ b/source/blender/freestyle/intern/winged_edge/WEdge.h @@ -29,7 +29,6 @@ */ #include <iterator> -#include <math.h> #include <vector> #include "../geometry/Geom.h" @@ -38,6 +37,8 @@ #include "../system/FreestyleConfig.h" +#include "BLI_math.h" + #ifdef WITH_CXX_GUARDEDALLOC #include "MEM_guardedalloc.h" #endif |