mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-16 16:12:48 +00:00
product: disabled model selection
This commit is contained in:
parent
45659d0432
commit
c4b851f71b
@ -197,6 +197,7 @@ EX namespace models {
|
|||||||
}
|
}
|
||||||
|
|
||||||
EX bool model_available(eModel pm) {
|
EX bool model_available(eModel pm) {
|
||||||
|
if(prod) return pm == mdPerspective;
|
||||||
if(nonisotropic) return among(pm, mdDisk, mdPerspective, mdGeodesic, mdEquidistant);
|
if(nonisotropic) return among(pm, mdDisk, mdPerspective, mdGeodesic, mdEquidistant);
|
||||||
if(pm == mdGeodesic && !sol) return false;
|
if(pm == mdGeodesic && !sol) return false;
|
||||||
if(sphere && (pm == mdHalfplane || pm == mdBall))
|
if(sphere && (pm == mdHalfplane || pm == mdBall))
|
||||||
@ -221,6 +222,7 @@ EX namespace models {
|
|||||||
|
|
||||||
EX string get_model_name(eModel m) {
|
EX string get_model_name(eModel m) {
|
||||||
if(m == mdDisk && GDIM == 3 && hyperbolic) return XLAT("ball model/Gans");
|
if(m == mdDisk && GDIM == 3 && hyperbolic) return XLAT("ball model/Gans");
|
||||||
|
if(m == mdPerspective && prod) return XLAT("native perspective");
|
||||||
if(nonisotropic) {
|
if(nonisotropic) {
|
||||||
if(m == mdDisk) return XLAT("simple model: projection");
|
if(m == mdDisk) return XLAT("simple model: projection");
|
||||||
if(m == mdPerspective) return XLAT("simple model: perspective");
|
if(m == mdPerspective) return XLAT("simple model: perspective");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user