From 4ced731194b454fd5f3fb695c2b6c523dafccbc3 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Tue, 3 Oct 2023 04:55:44 -0700 Subject: [PATCH] Replace hard coded Pi constant with M_PI Signed-off-by: Christopher Snowhill --- Audio/ThirdParty/hrtf/HrtfData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Audio/ThirdParty/hrtf/HrtfData.cpp b/Audio/ThirdParty/hrtf/HrtfData.cpp index b3d9f9095..2921fb1e3 100644 --- a/Audio/ThirdParty/hrtf/HrtfData.cpp +++ b/Audio/ThirdParty/hrtf/HrtfData.cpp @@ -9,7 +9,7 @@ typedef struct { uint8_t bytes[3]; } sample_int24_t; -const double pi = 3.1415926535897932385; +const double pi = M_PI; template void read_stream(std::istream& stream, T& value) {