mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
three new projections
This commit is contained in:
1 parent
c9e0529a88
commit
64cb6772e8
4 files changed
+92
-5
No files matched your search
+2
-2
@@ -205,7 +205,7 @@ EX namespace models {
|
||||
|
||||
EX bool has_orientation(eModel m) {
|
||||
return
|
||||
among(m, mdHalfplane, mdPolynomial, mdPolygonal, mdTwoPoint, mdJoukowsky, mdJoukowskyInverted, mdSpiral, mdSimulatedPerspective, mdTwoHybrid, mdHorocyclic) || mdBandAny();
|
||||
among(m, mdHalfplane, mdPolynomial, mdPolygonal, mdTwoPoint, mdJoukowsky, mdJoukowskyInverted, mdSpiral, mdSimulatedPerspective, mdTwoHybrid, mdHorocyclic, mdAxial, mdAntiAxial, mdQuadrant) || mdBandAny();
|
||||
}
|
||||
|
||||
EX bool is_perspective(eModel m) {
|
||||
@@ -218,7 +218,7 @@ EX namespace models {
|
||||
}
|
||||
|
||||
EX bool has_transition(eModel m) {
|
||||
return among(m, mdJoukowsky, mdJoukowskyInverted, mdBand) && GDIM == 2;
|
||||
return among(m, mdJoukowsky, mdJoukowskyInverted, mdBand, mdAxial) && GDIM == 2;
|
||||
}
|
||||
|
||||
EX bool product_model(eModel m) {
|
||||
|
||||
Reference in new issue
Block a user