1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 09:17:57 +00:00

3D variations: subcubes

This commit is contained in:
Zeno Rogue
2021-07-07 01:48:20 +02:00
parent 7fff0405a7
commit 4b3f72cc56
9 changed files with 310 additions and 70 deletions

View File

@@ -1078,6 +1078,8 @@ EX namespace gp {
return S3 == 3 ? XLAT("chamfered") : XLAT("expanded");
else if(GOLDBERG && param == loc(3, 0) && S3 == 3)
return XLAT("2x bitruncated");
else if(variation == eVariation::subcubes)
return XLAT("subcube") + "(" + its(reg3::subcube_count) + ")";
else {
auto p = human_representation(param);
string s = "GP(" + its(p.first) + "," + its(p.second) + ")";