mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-30 09:17:57 +00:00
matrix dialog now used for models::rotation
This commit is contained in:
@@ -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