Explorar el Código

Fix a missing M_PI in windows environment

Kenta Yonekura hace 4 años
padre
commit
3dda5267e5
Se han modificado 1 ficheros con 1 adiciones y 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;