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:
Ray molenkamp 2019-08-03 10:47:35 -06:00
parent e82b7f1527
commit edcefb739a
1 changed files with 1 additions and 1 deletions

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"