1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

no more model boundaries in 3D

This commit is contained in:
Zeno Rogue 2019-04-05 14:03:16 +02:00
parent 2cfb35c671
commit a08cf0c8fd

View File

@ -1469,6 +1469,7 @@ void draw_boundary(int w) {
} }
case mdBand: case mdBandEquidistant: case mdBandEquiarea: case mdSinusoidal: { case mdBand: case mdBandEquidistant: case mdBandEquiarea: case mdSinusoidal: {
if(DIM == 3) return;
if(pmodel == mdBand && conformal::model_transition != 1) return; if(pmodel == mdBand && conformal::model_transition != 1) return;
bool bndband = ((pmodel == mdBand) ? hyperbolic : sphere); bool bndband = ((pmodel == mdBand) ? hyperbolic : sphere);
transmatrix T = spin(-conformal::model_orientation * degree); transmatrix T = spin(-conformal::model_orientation * degree);
@ -1494,7 +1495,7 @@ void draw_boundary(int w) {
} }
case mdHalfplane: case mdHalfplane:
if(hyperbolic) { if(hyperbolic && DIM == 2) {
queuestraight(xspinpush0(-conformal::model_orientation * degree - M_PI/2, fakeinf), 1, lc, fc, p); queuestraight(xspinpush0(-conformal::model_orientation * degree - M_PI/2, fakeinf), 1, lc, fc, p);
return; return;
} }