Browse Source

Fix a missing M_PI in windows environment

Kenta Yonekura 4 years ago
parent
commit
3dda5267e5
1 changed files with 1 additions and 1 deletions
  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;