1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-07 09:13:02 +00:00

crystal::3d:: transformation

This commit is contained in:
Zeno Rogue
2019-03-06 16:36:10 +01:00
parent 76f3df1320
commit d8428f2ec3
5 changed files with 161 additions and 1 deletions

View File

@@ -527,8 +527,8 @@ namespace euclid3 {
for(int i=0; i<S7; i++) tmatrix[i] = Id;
for(int i=0; i<S7; i++) for(int j=0; j<3; j++)
tmatrix[i][j][DIM] = getcoord(shifttable[i])[j];
getOrigin();
}
heptagon *getOrigin() {
return get_at(0);
}