rug::rg* constants are now exported

This commit is contained in:
Zeno Rogue 2020-04-16 21:00:41 +02:00
parent 84cf5d6e3a
commit 63d244ce9f
1 changed files with 6 additions and 4 deletions

10
rug.cpp
View File

@ -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;