Kaynağa Gözat

Fix a missing M_PI in windows environment

Kenta Yonekura 4 yıl önce
ebeveyn
işleme
3dda5267e5
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;