소스 검색

Fix a missing M_PI in windows environment

Kenta Yonekura 4 년 전
부모
커밋
3dda5267e5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;