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

matrix dialog now used for models::rotation

This commit is contained in:
Zeno Rogue
2023-08-14 17:02:34 +02:00
parent 3eb2813667
commit 757579fb18
8 changed files with 36 additions and 55 deletions

View File

@@ -221,6 +221,10 @@ struct trans23 {
dim = 4; t.v3 = v3 * T.v3;
return t;
}
friend trans23 operator * (transmatrix M, trans23 T) {
trans23 t(M);
return M * T;
}
};
/** mirror image */