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:
parent
23b59101ae
commit
9ad39df2c0
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user