mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-28 02:50:34 +00:00
fixed monster facing displayed in embedded_in product
This commit is contained in:
parent
e68c807f68
commit
8884fbc11f
@ -1697,7 +1697,7 @@ EX void apply_shift_object(transmatrix& Position, const transmatrix orientation,
|
|||||||
}
|
}
|
||||||
|
|
||||||
EX void rotate_object(transmatrix& Position, transmatrix& orientation, transmatrix R) {
|
EX void rotate_object(transmatrix& Position, transmatrix& orientation, transmatrix R) {
|
||||||
if(gproduct) orientation = orientation * R;
|
if(gproduct && WDIM == 3) orientation = orientation * R;
|
||||||
else Position = Position * R;
|
else Position = Position * R;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user