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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user