mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-28 11:34:30 +00:00
matrix dialog now used for models::rotation
This commit is contained in:
1 parent
3eb2813667
commit
757579fb18
8 files changed
+36
-55
No files matched your search
+2
-2
@@ -2073,10 +2073,10 @@ EX void spinEdge(ld aspd) {
|
||||
}
|
||||
else if(keep_vertical()) {
|
||||
hyperpoint h = vertical_vector();
|
||||
downspin = -atan2(h[0], h[1]);
|
||||
if(ds.qty && GDIM == 2) {
|
||||
downspin += models::rotation * degree;
|
||||
h = rot_inverse(models::rotation.get()) * h;
|
||||
}
|
||||
downspin = -atan2(h[0], h[1]);
|
||||
if(ds.qty) {
|
||||
cyclefix(downspin, 0);
|
||||
downspin = downspin * min(ds.speed, (double)1);
|
||||
|
||||
Reference in new issue
Block a user