summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/Geometry.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-09-30 13:30:24 +0200
committerAki <please@ignore.pl>2021-09-30 13:30:24 +0200
commitc4ea54c5901d814323d6e56bd0453e5b163d6a22 (patch)
tree10ebb4565bb61ff853de7fffd63736170f75ac8e /nGenEx/Geometry.h
parentfe6a9d40867e0b3bcd7c5a96cbbc5bde4a102350 (diff)
downloadstarshatter-c4ea54c5901d814323d6e56bd0453e5b163d6a22.zip
starshatter-c4ea54c5901d814323d6e56bd0453e5b163d6a22.tar.gz
starshatter-c4ea54c5901d814323d6e56bd0453e5b163d6a22.tar.bz2
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.
Diffstat (limited to 'nGenEx/Geometry.h')
-rw-r--r--nGenEx/Geometry.h2
1 files changed, 2 insertions, 0 deletions
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);
// +--------------------------------------------------------------------+