1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-22 16:44:48 +00:00

svg:: circles now have better linewidth

This commit is contained in:
Zeno Rogue
2018-12-13 17:03:39 +01:00
parent 4d3f33deec
commit 8ba603fba3
4 changed files with 8 additions and 4 deletions

View File

@@ -1269,6 +1269,8 @@ void draw_boundary(int w) {
if(lc == 0 && fc == 0) return;
ld fakeinf = sphere ? M_PI-1e-5 : hyperbolic ? 10 : exp(10);
dynamicval<ld> dw(vid.linewidth, vid.linewidth * (svg::in ? svg::divby : 1));
if(elliptic && !among(pmodel, mdBand, mdBandEquidistant, mdBandEquiarea, mdSinusoidal))
circle_around_center(M_PI/2, periodcolor, 0, PPR::CIRCLE);