Replace hard coded Pi constant with M_PI
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
a1bd2e0d44
commit
fbde40212c
1 changed files with 1 additions and 1 deletions
2
Audio/ThirdParty/hrtf/HrtfData.cpp
vendored
2
Audio/ThirdParty/hrtf/HrtfData.cpp
vendored
|
@ -9,7 +9,7 @@ typedef struct {
|
|||
uint8_t bytes[3];
|
||||
} sample_int24_t;
|
||||
|
||||
const double pi = 3.1415926535897932385;
|
||||
const double pi = M_PI;
|
||||
|
||||
template <typename T>
|
||||
void read_stream(std::istream& stream, T& value) {
|
||||
|
|
Loading…
Reference in a new issue