From 266fd79e15b2aab5a61f1d10ea06c0970aa1d55c Mon Sep 17 00:00:00 2001 From: jerryzeng Date: Thu, 17 Jul 2025 21:19:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86M=5FPI=E7=9A=84?= =?UTF-8?q?=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sourceCode/SG_baseFunc.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sourceCode/SG_baseFunc.cpp b/sourceCode/SG_baseFunc.cpp index 19cce52..ee8686f 100644 --- a/sourceCode/SG_baseFunc.cpp +++ b/sourceCode/SG_baseFunc.cpp @@ -7,6 +7,11 @@ #include #endif // __WIN32 +#ifndef M_PI +#define M_PI 3.141592654 +#endif // !M_PI + + #include SVzNL3DRangeD sg_getScanDataROI(