1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-22 09:27:40 +00:00

2D3D:: irregular maps

This commit is contained in:
Zeno Rogue
2019-05-15 15:20:37 +02:00
parent 323bd659c8
commit 295f0bc388
2 changed files with 24 additions and 8 deletions

View File

@@ -377,6 +377,10 @@ void swapmatrix(transmatrix& T) {
fixmatrix(T);
for(int i=0; i<4; i++) for(int j=0; j<4; j++) if(isnan(T[i][j])) T = Id;
}
void swapmatrix(hyperpoint& h) {
swap(h[2], h[3]);
}
#endif
transmatrix parabolic1(ld u) {