mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-04-26 02:31:22 +00:00
removed the difference between euclid3::coord and array<int,3> -- euclid3::coord is now array<int,3>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user