Replace hard coded Pi constant with M_PI
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
8c67b6c2f7
commit
4ced731194
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];
|
uint8_t bytes[3];
|
||||||
} sample_int24_t;
|
} sample_int24_t;
|
||||||
|
|
||||||
const double pi = 3.1415926535897932385;
|
const double pi = M_PI;
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
void read_stream(std::istream& stream, T& value) {
|
void read_stream(std::istream& stream, T& value) {
|
||||||
|
|
Loading…
Reference in a new issue