1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-25 02:01:23 +00:00

removed the difference between euclid3::coord and array<int,3> -- euclid3::coord is now array<int,3>

This commit is contained in:
Zeno Rogue
2019-11-29 14:34:40 +01:00
parent 90177343a4
commit b904fdde1e
6 changed files with 77 additions and 106 deletions

View File

@@ -268,7 +268,7 @@ EX namespace models {
for(int x=-200; x<=200; x++) {
if(y == 0 && x <= 0) continue;
auto zero = euclid3::canonicalize(as_coord({x, y}));
if(zero == 0)
if(zero == euclid3::euzero)
torus_zeros.emplace_back(x, y);
}
sort(torus_zeros.begin(), torus_zeros.end(), [] (const gp::loc p1, const gp::loc p2) {