1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-30 13:32:59 +00:00

fixed forward direction

This commit is contained in:
Zeno Rogue
2022-12-13 23:51:28 +01:00
parent d7f7f567f7
commit f9552eb74e
2 changed files with 3 additions and 4 deletions

View File

@@ -1797,7 +1797,7 @@ EX hyperpoint lp_apply(const hyperpoint h) {
return nisot::local_perspective_used() ? NLP * h : h;
}
EX hyperpoint smalltangent() { if(embedded_plane && msphere) return lxpush0(0.1); else return xtangent(.1); }
EX hyperpoint smalltangent() { return xtangent(.1); }
EX void cyclefix(ld& a, ld b) {
while(a > b + M_PI) a -= TAU;