1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

only the Geodesic model available in SL2

This commit is contained in:
Zeno Rogue 2019-08-27 21:43:53 +02:00
parent 4dc5ae455c
commit a0fa8c85c4

View File

@ -198,6 +198,7 @@ EX namespace models {
EX bool model_available(eModel pm) {
if(prod) return pm == mdPerspective;
if(sl2) return pm == mdGeodesic;
if(nonisotropic) return among(pm, mdDisk, mdPerspective, mdGeodesic, mdEquidistant);
if(pm == mdGeodesic && !sol) return false;
if(sphere && (pm == mdHalfplane || pm == mdBall))