1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-10 04:36:43 +00:00

better model rotation in non-inverted Joukowsky

This commit is contained in:
Zeno Rogue 2018-10-25 03:23:44 +02:00
parent 23b59101ae
commit 9ad39df2c0

View File

@ -421,8 +421,9 @@ void applymodel(hyperpoint H, hyperpoint& ret) {
ld r2 = sqhypot2(ret);
ret[0] = ret[0] / r2;
ret[1] = -ret[1] / r2;
conformal::apply_orientation(ret[1], ret[0]);
}
conformal::apply_orientation(ret[1], ret[0]);
else conformal::apply_orientation(ret[0], ret[1]);
ghcheck(ret,H);
return;
}