@@ -147,8 +147,8 @@ void Ui::Update(Window& window, AngleUnit& angle_unit, InputContainer& input_con
147
147
}
148
148
ImGui::Separator ();
149
149
150
- ImGui::RadioButton (" Euler Angle (Intrinsic; Mobile)" , &input_container.selected_representation_type , static_cast <int32_t >(REPRESENTATION_TYPE::EULER_MOBILE));
151
- if (ImGui::BeginTable (" Euler Angle (Intrinsic; Mobile)" , 4 )) {
150
+ ImGui::RadioButton (" Euler Angles (Intrinsic; Mobile)" , &input_container.selected_representation_type , static_cast <int32_t >(REPRESENTATION_TYPE::EULER_MOBILE));
151
+ if (ImGui::BeginTable (" Euler Angles (Intrinsic; Mobile)" , 4 )) {
152
152
bool is_value_changed = false ;
153
153
float val[3 ] = { angle_unit.Display (input_container.mobile_euler_angle [0 ]), angle_unit.Display (input_container.mobile_euler_angle [1 ]), angle_unit.Display (input_container.mobile_euler_angle [2 ]) };
154
154
ImGui::TableNextRow ();
@@ -164,8 +164,8 @@ void Ui::Update(Window& window, AngleUnit& angle_unit, InputContainer& input_con
164
164
}
165
165
ImGui::Separator ();
166
166
167
- ImGui::RadioButton (" Euler Angle (Extrinsic; Fixed)" , &input_container.selected_representation_type , static_cast <int32_t >(REPRESENTATION_TYPE::EULER_FIXED));
168
- if (ImGui::BeginTable (" Euler Angle (Extrinsic; Fixed)" , 4 )) {
167
+ ImGui::RadioButton (" Euler Angles (Extrinsic; Fixed)" , &input_container.selected_representation_type , static_cast <int32_t >(REPRESENTATION_TYPE::EULER_FIXED));
168
+ if (ImGui::BeginTable (" Euler Angles (Extrinsic; Fixed)" , 4 )) {
169
169
bool is_value_changed = false ;
170
170
float val[3 ] = { angle_unit.Display (input_container.fixed_euler_angle [0 ]), angle_unit.Display (input_container.fixed_euler_angle [1 ]), angle_unit.Display (input_container.fixed_euler_angle [2 ]) };
171
171
ImGui::TableNextRow ();
@@ -230,8 +230,8 @@ void Ui::Update(Window& window, AngleUnit& angle_unit, InputContainer& input_con
230
230
}
231
231
ImGui::Separator ();
232
232
233
- ImGui::Text (" Euler Angle (Intrinsic; Mobile)" );
234
- if (ImGui::BeginTable (" Euler Angle (Intrinsic; Mobile)" , 4 )) {
233
+ ImGui::Text (" Euler Angles (Intrinsic; Mobile)" );
234
+ if (ImGui::BeginTable (" Euler Angles (Intrinsic; Mobile)" , 4 )) {
235
235
for (int32_t i = 0 ; i < static_cast <int32_t >(sizeof (EULER_ORDER_STR) / sizeof (char *)); i++) {
236
236
ImGui::TableNextRow ();
237
237
ImGui::TableSetColumnIndex (0 ); ImGui::Text (" %s" , EULER_ORDER_STR[i]);
@@ -244,8 +244,8 @@ void Ui::Update(Window& window, AngleUnit& angle_unit, InputContainer& input_con
244
244
}
245
245
ImGui::Separator ();
246
246
247
- ImGui::Text (" Euler Angle (Extrinsic; Fixed)" );
248
- if (ImGui::BeginTable (" Euler Angle (Extrinsic; Fixed)" , 4 )) {
247
+ ImGui::Text (" Euler Angles (Extrinsic; Fixed)" );
248
+ if (ImGui::BeginTable (" Euler Angles (Extrinsic; Fixed)" , 4 )) {
249
249
for (int32_t i = 0 ; i < static_cast <int32_t >(sizeof (EULER_ORDER_STR) / sizeof (char *)); i++) {
250
250
ImGui::TableNextRow ();
251
251
ImGui::TableSetColumnIndex (0 ); ImGui::Text (" %s" , EULER_ORDER_STR[i]);
@@ -292,11 +292,11 @@ void Ui::Update(Window& window, AngleUnit& angle_unit, InputContainer& input_con
292
292
ImGui::RadioButton (" Degrees" , &radio_degree, 1 );
293
293
angle_unit.is_degree = (radio_degree == 1 );
294
294
295
- int32_t go_around = setting_container.is_go_around ? 1 : 0 ;
296
- ImGui::Text (" Move :" ); ImGui::SameLine ();
297
- ImGui::RadioButton (" GoAround " , &go_around , 1 ); ImGui::SameLine ();
298
- ImGui::RadioButton (" Free" , &go_around , 0 );
299
- setting_container.is_go_around = (go_around == 1 );
295
+ int32_t is_revolution = setting_container.is_camera_revolution ? 1 : 0 ;
296
+ ImGui::Text (" Camera :" ); ImGui::SameLine ();
297
+ ImGui::RadioButton (" Revolution " , &is_revolution , 1 ); ImGui::SameLine ();
298
+ ImGui::RadioButton (" Free" , &is_revolution , 0 );
299
+ setting_container.is_camera_revolution = (is_revolution == 1 );
300
300
301
301
int32_t is_normalize_rotation_matrix = setting_container.is_normalize_rotation_matrix ? 1 : 0 ;
302
302
ImGui::Text (" Normalize Rotation Matrix:" ); ImGui::SameLine ();
0 commit comments