1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 17:27:57 +00:00

cellrotations are now structs, and include inverses

This commit is contained in:
Zeno Rogue
2020-01-28 15:15:35 +01:00
parent 7fd199dd49
commit 100b8f3534
3 changed files with 15 additions and 4 deletions

View File

@@ -633,7 +633,7 @@ struct hrmap_crystal : hrmap_standard {
for(auto& cr: cgi.cellrotations) {
transmatrix U = T * cr.first;
transmatrix U = T * cr.M;
ld go = hdist0(U * tC0(reg3::adjmoves[h->c.spin(d)]));
if(go > 1e-2) continue;