From 892949f37ff5c63738ff18a4b642b988606c8bc3 Mon Sep 17 00:00:00 2001 From: RyanVreeke Date: Thu, 22 Jul 2021 16:07:49 +0100 Subject: [PATCH] Edited #defines so that cmake would work. --- include/Util.hpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/include/Util.hpp b/include/Util.hpp index db54dd9..3208474 100644 --- a/include/Util.hpp +++ b/include/Util.hpp @@ -6,7 +6,9 @@ #include #include #define _USE_MATH_DEFINES -#include +#include +#define M_LN10 2.30258509299404568402 +#define M_PI 3.14159265358979323846 #define PI2 (M_PI * 2) #include @@ -44,8 +46,8 @@ class Util { } /** - * @brief Forces a hidden floor value on the range - * + * @brief Forces a hidden floor value on the range + * * Lets the user set expected values without causing divide by 0 or other arithmetic errors */ template @@ -54,8 +56,8 @@ class Util { } /** - * @brief Forces a hidden ceiling value on the range - * + * @brief Forces a hidden ceiling value on the range + * * Lets the user set expected values without causing divide by 0 or other arithmetic errors */ template