1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-30 03:50:34 +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 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;