mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
reimplemented sdxy
This commit is contained in:
parent
d6a38524a0
commit
4644d54987
@ -906,7 +906,7 @@ EX cell* at_euc2_coordinates(gp::loc p) {
|
|||||||
|
|
||||||
EX euclid3::coord as_coord(gp::loc p) { return p.first + p.second * euclid3::COORDMAX; }
|
EX euclid3::coord as_coord(gp::loc p) { return p.first + p.second * euclid3::COORDMAX; }
|
||||||
|
|
||||||
EX gp::loc sdxy() { return {0, 0}; }
|
EX gp::loc sdxy() { return as_gp(euclid3::T[1]) * gp::univ_param(); }
|
||||||
|
|
||||||
EX pair<bool, string> coord_display(const transmatrix& V, cell *c) {
|
EX pair<bool, string> coord_display(const transmatrix& V, cell *c) {
|
||||||
if(c != c->master->c7) return {false, ""};
|
if(c != c->master->c7) return {false, ""};
|
||||||
|
Loading…
Reference in New Issue
Block a user