1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-17 02:29:44 +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

@@ -294,7 +294,13 @@ hpcshape
vector<array<int, 3>> symmetriesAt;
vector<pair<transmatrix, vector<int> > > cellrotations;
struct cellrotation_t {
transmatrix M;
vector<int> mapping;
int inverse_id;
};
vector<cellrotation_t> cellrotations;
#ifndef SCALETUNER
static constexpr