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 modelscale = 1;
EX ld model_distance = 4; EX ld model_distance = 4;
const eGeometry rgHyperbolic = gSpace534; #if HDR
const eGeometry rgEuclid = gCubeTiling; constexpr eGeometry rgHyperbolic = gSpace534;
const eGeometry rgSphere = gCell120; constexpr eGeometry rgEuclid = gCubeTiling;
const eGeometry rgElliptic = gECell120; constexpr eGeometry rgSphere = gCell120;
constexpr eGeometry rgElliptic = gECell120;
#endif
EX eGeometry gwhere = rgEuclid; EX eGeometry gwhere = rgEuclid;