mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-03-21 04:19:43 +00:00
euc:: further cleanup
This commit is contained in:
@@ -267,8 +267,12 @@ EX namespace models {
|
||||
for(int y=0; y<=200; y++)
|
||||
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 == euc::euzero)
|
||||
transmatrix dummy = Id;
|
||||
euc::coord v(x, y, 0);
|
||||
bool mirr = false;
|
||||
auto t = euc::eutester;
|
||||
euc::eu.canonicalize(v, t, dummy, mirr);
|
||||
if(v == euc::euzero && t == euc::eutester)
|
||||
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