From c4ea54c5901d814323d6e56bd0453e5b163d6a22 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 30 Sep 2021 13:30:24 +0200 Subject: Fixed weirdly propagated Ice macros Something is wrong with the way cmake+vs use header files or it's just the problem with too minimalistic cmakelists that I use. --- nGenEx/Geometry.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nGenEx/Geometry.h') diff --git a/nGenEx/Geometry.h b/nGenEx/Geometry.h index 8ea86ad..f6b34cf 100644 --- a/nGenEx/Geometry.h +++ b/nGenEx/Geometry.h @@ -51,7 +51,9 @@ struct Point; struct Quaternion; struct Plane; +#ifndef PI const double PI = 3.14159265358979323846; +#endif const double DEGREES = (PI/180); // +--------------------------------------------------------------------+ -- cgit v1.1