mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-26 17:06:59 +00:00
final_coords now refers to cgi.emb->logical_to_base
This commit is contained in:
parent
a6d53944cd
commit
5c2b206433
8
reg3.cpp
8
reg3.cpp
@ -13,13 +13,7 @@
|
|||||||
namespace hr {
|
namespace hr {
|
||||||
|
|
||||||
EX hyperpoint final_coords(hyperpoint h) {
|
EX hyperpoint final_coords(hyperpoint h) {
|
||||||
if(sn::in() || !bt::in())
|
return cgi.emb->logical_to_base(h);
|
||||||
return ultra_normalize(h);
|
|
||||||
#if CAP_BT
|
|
||||||
if(bt::in() && !mproduct)
|
|
||||||
return bt::bt_to_minkowski(h);
|
|
||||||
#endif
|
|
||||||
return h;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void subcellshape::compute_common() {
|
void subcellshape::compute_common() {
|
||||||
|
Loading…
Reference in New Issue
Block a user