mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-23 01:47:39 +00:00
camera rotation by device orientation in 3D
This commit is contained in:
@@ -643,6 +643,9 @@ void mainloopiter() {
|
||||
View = cspin(0, 2, -mouseaim_x) * cspin(1, 2, -mouseaim_y) * View;
|
||||
mouseaim_x = mouseaim_y = 0;
|
||||
#endif
|
||||
#if CAP_ORIENTATION
|
||||
apply_orientation();
|
||||
#endif
|
||||
}
|
||||
|
||||
if(smooth_scrolling && !shmup::on && !rug::rugged) {
|
||||
|
Reference in New Issue
Block a user