1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-02-25 07:20:09 +00:00

perspective of any kind now has Panini

This commit is contained in:
Zeno Rogue 2022-10-14 00:54:51 +02:00
parent d218896b63
commit e6d0ff8789

View File

@ -212,7 +212,7 @@ EX namespace models {
EX bool has_orientation(eModel m) { EX bool has_orientation(eModel m) {
if(among(m, mdHorocyclic, mdLieOrthogonal, mdLiePerspective)) if(among(m, mdHorocyclic, mdLieOrthogonal, mdLiePerspective))
return hyperbolic || in_h2xe(); return hyperbolic || in_h2xe();
if((m == mdPerspective || m == mdGeodesic) && panini_alpha) return true; if(is_perspective(m) && panini_alpha) return true;
return return
among(m, mdHalfplane, mdPolynomial, mdPolygonal, mdTwoPoint, mdJoukowsky, mdJoukowskyInverted, mdSpiral, mdSimulatedPerspective, mdTwoHybrid, mdHorocyclic, mdAxial, mdAntiAxial, mdQuadrant, among(m, mdHalfplane, mdPolynomial, mdPolygonal, mdTwoPoint, mdJoukowsky, mdJoukowskyInverted, mdSpiral, mdSimulatedPerspective, mdTwoHybrid, mdHorocyclic, mdAxial, mdAntiAxial, mdQuadrant,
mdWerner, mdAitoff, mdHammer, mdLoximuthal, mdWinkelTripel, mdThreePoint) || mdBandAny(); mdWerner, mdAitoff, mdHammer, mdLoximuthal, mdWinkelTripel, mdThreePoint) || mdBandAny();