From ca8ef5eb3db093f6bec4a07abd7c98a0cadb6c80 Mon Sep 17 00:00:00 2001 From: Reproog Date: Tue, 11 Jun 2024 17:40:44 +0200 Subject: [PATCH] Update PI --- src/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index e99683e..13b0067 100644 --- a/src/main.c +++ b/src/main.c @@ -22,8 +22,7 @@ static int active_id = -1; #define SLIDER_THICKNESS 20.0f #define SLIDER_GRIP_SIZE 10.0f - -#define M_PI 3.14159 +#define M_PI 3.14159265358979323846 /* pi */ // Helper functions for clamping and interpolation static float clampf(float value, float min, float max) {