inline PI for msvc

This commit is contained in:
Sven Balzer 2025-03-15 16:22:50 +01:00
parent 755befb89d
commit 4b3ca3e673

View File

@ -32,7 +32,7 @@ namespace M {
} }
float radians(float degrees) { float radians(float degrees) {
return degrees * (M_PIf / 180.0f); return degrees * (3.14159265358979323846f / 180.0f);
} }
V2 V2_(float x, float y) { V2 V2_(float x, float y) {