mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-03-17 10:39:43 +00:00
cellrotations are now structs, and include inverses
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user