1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 09:30:35 +00:00

do not display relativistic modes in model list

This commit is contained in:
Zeno Rogue 2023-03-25 09:25:06 +01:00
parent 08bf3fe3d6
commit cd391412aa

View File

@ -200,6 +200,7 @@ EX namespace models {
} }
if(hyperbolic && desitter_projections && among(pm, mdRelPerspective, mdRelOrthogonal)) return true; if(hyperbolic && desitter_projections && among(pm, mdRelPerspective, mdRelOrthogonal)) return true;
if(sl2) return among(pm, mdGeodesic, mdEquidistant, mdRelPerspective, mdRelOrthogonal, mdHorocyclic, mdPerspective); if(sl2) return among(pm, mdGeodesic, mdEquidistant, mdRelPerspective, mdRelOrthogonal, mdHorocyclic, mdPerspective);
if(among(pm, mdRelOrthogonal, mdRelPerspective)) return false;
if(nonisotropic) return among(pm, mdDisk, mdPerspective, mdHorocyclic, mdGeodesic, mdEquidistant, mdFisheye, mdLiePerspective, mdLieOrthogonal); if(nonisotropic) return among(pm, mdDisk, mdPerspective, mdHorocyclic, mdGeodesic, mdEquidistant, mdFisheye, mdLiePerspective, mdLieOrthogonal);
if(sphere && pm == mdBall) return false; if(sphere && pm == mdBall) return false;
if(sphere && (mdinf[pm].flags & mf::horocyclic)) return false; if(sphere && (mdinf[pm].flags & mf::horocyclic)) return false;