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

removed rotmatrix as it did exactly the same as cspin

This commit is contained in:
Zeno Rogue
2019-08-09 23:59:32 +02:00
parent 9588dfcc50
commit 2cf6abb273
6 changed files with 34 additions and 43 deletions

View File

@@ -175,9 +175,9 @@ transmatrix getOrientation() {
beta = EM_ASM_DOUBLE({ return rotation_beta; });
gamma = EM_ASM_DOUBLE({ return rotation_gamma; });
return
rotmatrix(alpha * degree, 0, 1) *
rotmatrix(beta * degree, 1, 2) *
rotmatrix(gamma * degree, 0, 2);
cspin(0, 1, alpha * degree) *
cspin(1, 2, beta * degree) *
cspin(0, 2, gamma * degree);
}
#endif