mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-09-27 13:11:41 +00:00
clearer functions bt::bt_to_minkowski and bt::minkowski_to_bt
This commit is contained in:
@@ -17,10 +17,8 @@ EX hyperpoint final_coords(hyperpoint h) {
|
||||
if(sn::in() || !bt::in())
|
||||
return ultra_normalize(h);
|
||||
#if CAP_BT
|
||||
if(bt::in()) {
|
||||
ld yy = log(2) / 2;
|
||||
return bt::parabolic3(h[0], h[1]) * xpush0(yy*h[2]);
|
||||
}
|
||||
if(bt::in())
|
||||
return bt::bt_to_minkowski(h);
|
||||
#endif
|
||||
return h;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user