From 4b3ca3e6730f587f198536b5aa908c8f252526d7 Mon Sep 17 00:00:00 2001 From: Sven Balzer <4653051+Kyuusokuna@users.noreply.github.com> Date: Sat, 15 Mar 2025 16:22:50 +0100 Subject: [PATCH] inline PI for msvc --- src/math_graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math_graphics.cpp b/src/math_graphics.cpp index 6307909..810943e 100644 --- a/src/math_graphics.cpp +++ b/src/math_graphics.cpp @@ -32,7 +32,7 @@ namespace M { } float radians(float degrees) { - return degrees * (M_PIf / 180.0f); + return degrees * (3.14159265358979323846f / 180.0f); } V2 V2_(float x, float y) {