From 63d244ce9fcdc3b536f122216c11f93e451dd3d7 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 16 Apr 2020 21:00:41 +0200 Subject: [PATCH] rug::rg* constants are now exported --- rug.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/rug.cpp b/rug.cpp index f1b0544f..bb73e308 100644 --- a/rug.cpp +++ b/rug.cpp @@ -94,10 +94,12 @@ EX void subdivide(); EX ld modelscale = 1; EX ld model_distance = 4; -const eGeometry rgHyperbolic = gSpace534; -const eGeometry rgEuclid = gCubeTiling; -const eGeometry rgSphere = gCell120; -const eGeometry rgElliptic = gECell120; +#if HDR +constexpr eGeometry rgHyperbolic = gSpace534; +constexpr eGeometry rgEuclid = gCubeTiling; +constexpr eGeometry rgSphere = gCell120; +constexpr eGeometry rgElliptic = gECell120; +#endif EX eGeometry gwhere = rgEuclid;