matrix dialog now used for models::rotation

This commit is contained in:
Zeno Rogue committed 2023-08-14 17:02:34 +02:00
1 parent 3eb2813667
commit 757579fb18
8 files changed
+36 -55

No files matched your search

+2 -2
View File
@@ -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);