From 9ad39df2c05d245a3937fd6f43d7698a9ca1db9f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 25 Oct 2018 03:23:44 +0200 Subject: [PATCH] better model rotation in non-inverted Joukowsky --- hypgraph.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hypgraph.cpp b/hypgraph.cpp index eb1a1425..e4a19632 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -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; }