1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-19 17:40:20 +00:00

3D effects in the new models. Also made the 3D effects in old models 'correct'

This commit is contained in:
Zeno Rogue
2018-03-27 04:01:30 +02:00
parent 7c84280b73
commit fa7822fdf8
4 changed files with 136 additions and 63 deletions

View File

@@ -548,16 +548,9 @@ namespace conformal {
}
bool model_available(eModel pm) {
if(mdAzimuthalEqui() || pm == mdDisk || pm == mdPolynomial || pm == mdHyperboloid || pm == mdHemisphere ||
pm == mdBandEquidistant || pm == mdBandEquiarea || pm == mdSinusoidal || pm == mdTwoPoint)
return true;
if(sphere && pm == mdBand)
return true;
if(euclid && (pm == mdHalfplane || pm == mdBall))
return true;
if(hyperbolic)
return true;
return false;
if(sphere && (pm == mdHalfplane || pm == mdBall))
return false;
return true;
}
void model_menu() {