Explorar o código

Fix a missing M_PI in windows environment

Kenta Yonekura %!s(int64=4) %!d(string=hai) anos
pai
achega
3dda5267e5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/lines3d.cpp

+ 1 - 1
examples/lines3d.cpp

@@ -1,5 +1,5 @@
+#define _USE_MATH_DEFINES
 #include "../matplotlibcpp.h"
-
 #include <cmath>
 
 namespace plt = matplotlibcpp;