mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-05 20:07:58 +00:00
Sol/NIH geometries now have separate gc constants
This commit is contained in:
21
geom-exp.cpp
21
geom-exp.cpp
@@ -520,21 +520,14 @@ EX string geometry_name() {
|
||||
case gcSphere:
|
||||
return XLAT("spherical") + dim_name();
|
||||
|
||||
case gcSolNIH:
|
||||
#if CAP_SOLV
|
||||
switch(sn::geom()) {
|
||||
case gSol:
|
||||
return XLAT("Sol");
|
||||
case gNIH:
|
||||
return XLAT("hyperbolic (3:2)");
|
||||
case gSolN:
|
||||
return XLAT("Sol (3:2)");
|
||||
default:
|
||||
return "unknown";
|
||||
}
|
||||
#else
|
||||
case gcSol:
|
||||
return XLAT("Sol");
|
||||
#endif
|
||||
|
||||
case gcNIH:
|
||||
return XLAT("hyperbolic (3:2)");
|
||||
|
||||
case gcSolN:
|
||||
return XLAT("Sol (3:2)");
|
||||
|
||||
case gcNil:
|
||||
return XLAT("Nil");
|
||||
|
Reference in New Issue
Block a user