M_PI and friends on MSVC are only defined if _USE_MATH_DEFINES is defined first. include it appropriately in config.h.
diff --git a/msvc/config.h b/msvc/config.h
index 8234ff2..95c3856 100644
--- a/msvc/config.h
+++ b/msvc/config.h
@@ -1 +1,5 @@
+// GLUT
#define HAVE_GL_GLUT_H
+
+// M_PI and friends on VC
+#define _USE_MATH_DEFINES
\ No newline at end of file