mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-19 14:54:07 +00:00
fixed band boundary
This commit is contained in:
parent
b9eac3f6ae
commit
f37c4ba165
@ -2806,7 +2806,7 @@ EX void draw_boundary(int w) {
|
|||||||
if(GDIM == 3) return;
|
if(GDIM == 3) return;
|
||||||
if(pmodel == mdBand && pconf.model_transition != 1) return;
|
if(pmodel == mdBand && pconf.model_transition != 1) return;
|
||||||
bool bndband = (among(pmodel, mdBand, mdMiller, mdGallStereographic, mdCentralCyl) ? hyperbolic : sphere);
|
bool bndband = (among(pmodel, mdBand, mdMiller, mdGallStereographic, mdCentralCyl) ? hyperbolic : sphere);
|
||||||
transmatrix T = rot_inverse(pconf.mori().get());
|
transmatrix T = pconf.mori().get();
|
||||||
ld right = 90._deg - 1e-5;
|
ld right = 90._deg - 1e-5;
|
||||||
if(bndband)
|
if(bndband)
|
||||||
queuestraight(T * ypush0(hyperbolic ? 10 : right), 2, lc, fc, p);
|
queuestraight(T * ypush0(hyperbolic ? 10 : right), 2, lc, fc, p);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user