Cleanup: Fix build error with msvc

math.h does not define M_PI on windows, needs BLI_math_base.h to get them.

thanks to @quollism on chat for spotting it.
This commit is contained in:
Lazydodo
2019-08-03 10:47:35 -06:00
parent e82b7f1527
commit edcefb739a

View File

@@ -17,7 +17,7 @@
/* Preferences Data File 'U_default'. */
/* For constants. */
#include <math.h>
#include "BLI_math_base.h"
#include "DNA_userdef_types.h"
#include "DNA_curve_types.h"