diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-01-26 14:25:39 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-01-26 14:25:39 +0300 |
commit | 4efed2351710e1d726aa869bc5e7a41c0a1cac8b (patch) | |
tree | f5866ecc469a9d19b81b781158cc0572f2c68687 /source/blender/editors/mesh | |
parent | 7c776bc124dc218e3e663854fb4fcf1e70a56250 (diff) |
Use #include "BLI_math.h" instead of _USE_MATH_DEFINES to get M_PI defined.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/loopcut.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/loopcut.c b/source/blender/editors/mesh/loopcut.c index 089ac1a300c..906d966245f 100644 --- a/source/blender/editors/mesh/loopcut.c +++ b/source/blender/editors/mesh/loopcut.c @@ -27,8 +27,6 @@ */ #include <float.h> -#define _USE_MATH_DEFINES -#include <math.h> #include <string.h> #include <ctype.h> #include <stdio.h> @@ -47,6 +45,7 @@ #include "BLI_blenlib.h" #include "BLI_dynstr.h" /*for WM_operator_pystring */ #include "BLI_editVert.h" +#include "BLI_math.h" #include "BKE_blender.h" #include "BKE_context.h" |