@@ -112,6 +112,36 @@ void TextWindow::ScreenChangeTurntableNav(int link, uint32_t v) {
112112 }
113113}
114114
115+ void TextWindow::ScreenChangeTurntableNavZ (int link, uint32_t v) {
116+ SS.turntableNavZ = true ;
117+ SS.turntableNavX = false ;
118+ SS.turntableNavY = false ;
119+ if (SS.turntableNav ) {
120+ SS.GW .AnimateOnto (Quaternion::From (Vector::From (-1 , 0 , 0 ), Vector::From (0 , 0 , 1 )),
121+ SS.GW .offset );
122+ }
123+ }
124+
125+ void TextWindow::ScreenChangeTurntableNavY (int link, uint32_t v) {
126+ SS.turntableNavZ = false ;
127+ SS.turntableNavX = false ;
128+ SS.turntableNavY = true ;
129+ if (SS.turntableNav ) {
130+ SS.GW .AnimateOnto (Quaternion::From (Vector::From (-1 , 0 , 0 ), Vector::From (0 , 1 , 0 )),
131+ SS.GW .offset );
132+ }
133+ }
134+
135+ void TextWindow::ScreenChangeTurntableNavX (int link, uint32_t v) {
136+ SS.turntableNavZ = false ;
137+ SS.turntableNavX = true ;
138+ SS.turntableNavY = false ;
139+ if (SS.turntableNav ) {
140+ SS.GW .AnimateOnto (Quaternion::From (Vector::From (0 , 0 , 0 ), Vector::From (1 , 0 , 0 )),
141+ SS.GW .offset );
142+ }
143+ }
144+
115145void TextWindow::ScreenChangeImmediatelyEditDimension (int link, uint32_t v) {
116146 SS.immediatelyEditDimension = !SS.immediatelyEditDimension ;
117147 SS.GW .Invalidate (/* clearPersistent=*/ true );
@@ -369,6 +399,12 @@ void TextWindow::ShowConfiguration() {
369399 SS.automaticLineConstraints ? CHECK_TRUE : CHECK_FALSE);
370400 Printf (false , " %Fd%f%Ll%s use turntable mouse navigation%E" , &ScreenChangeTurntableNav,
371401 SS.turntableNav ? CHECK_TRUE : CHECK_FALSE);
402+ Printf (false , " - %Fd%f%Ll%s around Z%E" , &ScreenChangeTurntableNavZ,
403+ SS.turntableNavZ ? RADIO_TRUE : RADIO_FALSE);
404+ Printf (false , " - %Fd%f%Ll%s around Y%E" , &ScreenChangeTurntableNavY,
405+ SS.turntableNavY ? RADIO_TRUE : RADIO_FALSE);
406+ Printf (false , " - %Fd%f%Ll%s around X%E" , &ScreenChangeTurntableNavX,
407+ SS.turntableNavX ? RADIO_TRUE : RADIO_FALSE);
372408 Printf (false , " %Fd%f%Ll%s edit newly added dimensions%E" ,
373409 &ScreenChangeImmediatelyEditDimension,
374410 SS.immediatelyEditDimension ? CHECK_TRUE : CHECK_FALSE);
0 commit comments