From cd3a482e941f8b41efd43ed4f5b4e4d457d90052 Mon Sep 17 00:00:00 2001 From: ninjanomnom Date: Thu, 25 Jan 2018 16:21:33 -0500 Subject: [PATCH] left out a closing parenthasis --- code/__DEFINES/maths.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/__DEFINES/maths.dm b/code/__DEFINES/maths.dm index 0ff3ade369f..ec3e3417318 100644 --- a/code/__DEFINES/maths.dm +++ b/code/__DEFINES/maths.dm @@ -86,7 +86,7 @@ // Performs a linear interpolation between a and b. // Note that amount=0 returns a, amount=1 returns b, and // amount=0.5 returns the mean of a and b. -#define LERP(a, b, amount) (amount ? ((a) + ((b) - (a)) * (amount)) : ((a) + ((b) - (a)) * 0.5) +#define LERP(a, b, amount) (amount ? ((a) + ((b) - (a)) * (amount)) : ((a) + ((b) - (a)) * 0.5)) // Returns the nth root of x. #define ROOT(n, x) ((x) ** (1 / (n)))