mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
better model rotation in non-inverted Joukowsky
This commit is contained in:
1 parent
23b59101ae
commit
9ad39df2c0
1 file changed
+2
-1
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user