mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-12 07:16:01 +00:00
shmup should work in euc_in_product
This commit is contained in:
@@ -1838,7 +1838,8 @@ EX void apply_shift_object(transmatrix& Position, const transmatrix orientation,
|
||||
}
|
||||
|
||||
EX void rotate_object(transmatrix& Position, transmatrix& orientation, transmatrix R) {
|
||||
if(gproduct && WDIM == 3) orientation = orientation * R;
|
||||
if(geom3::euc_in_product()) orientation = orientation * R;
|
||||
else if(gproduct && WDIM == 3) orientation = orientation * R;
|
||||
else Position = Position * R;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user