use_atan configurable for RotatedHyperboles

This commit is contained in:
Zeno Rogue
2019-02-06 16:39:08 +01:00
parent c56287ae38
commit 39ce061fa7
4 changed files with 12 additions and 2 deletions
+4 -2
View File
@@ -539,8 +539,10 @@ void applymodel(hyperpoint H, hyperpoint& ret) {
ret[1] = cosh(x) * factor;
ret[2] = 0;
ret[0] = atan(ret[0]);
ret[1] = atan(ret[1]);
if(conformal::use_atan) {
ret[0] = atan(ret[0]);
ret[1] = atan(ret[1]);
}
break;
}