1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 15:40:26 +00:00

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

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;