1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-05 18:27:01 +00:00

fixed a bug with rendering 45-degree-rotated Klein bottles

This commit is contained in:
Zeno Rogue 2025-03-10 22:13:10 +01:00
parent ac52bc784d
commit 75ecbe4e85

View File

@ -799,7 +799,7 @@ EX namespace euc {
if(dsx >= dsc) coo = coo - twisted_vec;
else if (dsx < 0) coo = coo + twisted_vec;
else break;
M = M * spintox(h) * MirrorY * rspintox(h);
M = M * rspintox(h) * MirrorY * spintox(h);
auto s = ort * dscalar(d0, ort) * 2;
auto v = dscalar(ort, ort);
s.first /= v;