1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-17 06:07:12 +00:00

use_atan configurable for RotatedHyperboles

This commit is contained in:
Zeno Rogue
2018-12-24 01:10:55 +01:00
parent c56287ae38
commit 39ce061fa7
4 changed files with 12 additions and 2 deletions

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;
}