From 64b342aec0284ee7c426827425cc2f48b937a512 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Wed, 28 Aug 2024 23:12:12 +0800 Subject: [PATCH] [bot] Add missing `PI` constant --- bot/main.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot/main.h b/bot/main.h index a72927a..b306da5 100644 --- a/bot/main.h +++ b/bot/main.h @@ -18,6 +18,8 @@ #define MAX_VEHICLES 2000 #define MAX_SETTINGS_STRING 256 +#define PI 3.14159265f + #define ARRAY_SIZE(a) ( sizeof((a)) / sizeof(*(a)) ) #define SAFE_DELETE(p) { if (p) { delete (p); (p) = NULL; } } #define SAFE_RELEASE(p) { if (p) { (p)->Release(); (p) = NULL; } }