Make Pi constexpr in RageMath.h

This is the same value used in the vorbis code.
This commit is contained in:
sukibaby
2024-07-22 10:38:15 -07:00
committed by teejusb
parent 5369f16e16
commit 7ac77f5b78
+1 -1
View File
@@ -5,7 +5,7 @@
#include <vector>
#define PI (3.141592653589793f)
constexpr float PI = 3.1415926536f;
#define DegreeToRadian( degree ) ((degree) * (PI / 180.0f))
#define RadianToDegree( radian ) ((radian) * (180.0f / PI))