1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 17:40:36 +00:00

reimplemented sdxy

This commit is contained in:
Zeno Rogue 2019-11-27 22:01:48 +01:00
parent d6a38524a0
commit 4644d54987

View File

@ -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, ""};