From 5920ebab1d96d7de210f3ccbd0b90a325aecce4a Mon Sep 17 00:00:00 2001 From: VSCPlays <133564013+VSCPlays@users.noreply.github.com> Date: Mon, 22 May 2023 22:53:09 +0400 Subject: [PATCH] Update lmathlib.cpp --- VM/src/lmathlib.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/VM/src/lmathlib.cpp b/VM/src/lmathlib.cpp index 2d4e3277..1cd57813 100644 --- a/VM/src/lmathlib.cpp +++ b/VM/src/lmathlib.cpp @@ -11,6 +11,9 @@ #define PI (3.14159265358979323846) #define RADIANS_PER_DEGREE (PI / 180.0) +#undef TAU +#define TAU (6.28318530718) + #define PCG32_INC 105 static uint32_t pcg32_random(uint64_t* state)