1
0
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:
Zeno Rogue
2023-08-14 17:02:34 +02:00
parent 3eb2813667
commit 757579fb18
8 changed files with 36 additions and 55 deletions

View File

@@ -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;