forked from bartvdbraak/blender
Resolve undefined M_PI w/ MSVC2013
This commit is contained in:
parent
6e131ce075
commit
4da8543d0d
@ -43,6 +43,10 @@
|
||||
* While re-fitting, remove knots that fall below the error threshold.
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# define _USE_MATH_DEFINES
|
||||
#endif
|
||||
|
||||
#include <math.h>
|
||||
#include <float.h>
|
||||
#include <stdbool.h>
|
||||
|
Loading…
Reference in New Issue
Block a user