1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-05 16:23:06 +00:00

full cellshape computed in hybrid geometries

This commit is contained in:
Zeno Rogue
2021-07-12 20:54:16 +02:00
parent acce9a596b
commit c4e85c16d3
3 changed files with 67 additions and 42 deletions

View File

@@ -117,7 +117,9 @@ struct subcellshape {
transmatrix to_cellcenter;
transmatrix from_cellcenter;
/** \brief for adjacent directions a,b, next_dir[a][b] is the next direction adjacent to a, in (counter?)clockwise order from b */
vector<vector<char>> next_dir;
vector<vector<char>> next_dir;
/** useful in product geometries */
vector<hyperpoint> walltester;
/** compute all the properties based on `faces`, for the main heptagon cellshape */
void compute_hept();