1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-08 18:50:15 +00:00

replaced euclid3:: with euc::

This commit is contained in:
Zeno Rogue
2019-12-08 11:01:28 +01:00
parent ddb5d07ff6
commit e8a39e6663
11 changed files with 38 additions and 42 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 = euc::canonicalize(euc::to_coord(gp::loc{x, y}));
if(zero == euclid3::euzero)
if(zero == euc::euzero)
torus_zeros.emplace_back(x, y);
}
sort(torus_zeros.begin(), torus_zeros.end(), [] (const gp::loc p1, const gp::loc p2) {