mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 23:30:25 +00:00
spiral boundary always drawn
This commit is contained in:
parent
8914868bce
commit
9d864d7d68
@ -1391,12 +1391,11 @@ void draw_boundary(int w) {
|
|||||||
for(ld a=-10; a<=10; a+=0.01 / (1 << vid.linequality) / u) {
|
for(ld a=-10; a<=10; a+=0.01 / (1 << vid.linequality) / u) {
|
||||||
cld z = exp(cld(a, a * imag(sm) / real(sm) + M_PI));
|
cld z = exp(cld(a, a * imag(sm) / real(sm) + M_PI));
|
||||||
hyperpoint ret = hpxyz(real(z), imag(z), 0);
|
hyperpoint ret = hpxyz(real(z), imag(z), 0);
|
||||||
if(vid.skiprope)
|
|
||||||
ret = mobius(ret, vid.skiprope, 1);
|
ret = mobius(ret, vid.skiprope, 1);
|
||||||
ret *= vid.radius;
|
ret *= vid.radius;
|
||||||
curvepoint(ret);
|
curvepoint(ret);
|
||||||
}
|
}
|
||||||
queuecurve(ringcolor, 0, p);
|
queuecurve(ringcolor, 0, p).flags |= POLY_ALWAYS_IN;
|
||||||
queuereset(pmodel, p);
|
queuereset(pmodel, p);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user