mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-16 19:18:05 +00:00
fully turnable product spaces
This commit is contained in:
@@ -141,7 +141,7 @@ EX namespace models {
|
||||
#endif
|
||||
|
||||
EX transmatrix rotmatrix() {
|
||||
if(GDIM == 2) return spin(rotation * degree);
|
||||
if(GDIM == 2 || prod) return spin(rotation * degree);
|
||||
return spin(rotation_xy2 * degree) * cspin(0, 2, -rotation_xz * degree) * spin(rotation * degree);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user