mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-01 02:07:57 +00:00
matrix dialog now used for models::rotation
This commit is contained in:
@@ -430,7 +430,7 @@ EX void full_rotate_camera(int dir, ld val) {
|
||||
|
||||
EX void full_rotate_view(ld h, ld v) {
|
||||
if(history::on && !rug::rug_control())
|
||||
models::rotation += h * camera_rot_speed;
|
||||
models::rotation = spin(h * camera_rot_speed) * models::rotation;
|
||||
else {
|
||||
rotate_view(cspin(0, 1, v * camera_rot_speed));
|
||||
didsomething = true;
|
||||
|
Reference in New Issue
Block a user