File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -1159,25 +1159,19 @@ pub enum WorldCoordinateSystem {
11591159pub struct CameraViewState {
11601160 pub pivot_rotation : Quaternion ,
11611161 pub pivot_position : Point3d ,
1162- pub eye_offset : f32 ,
1162+ pub eye_offset : Point3d ,
11631163 pub fov_y : f32 ,
1164- pub ortho_scale_factor : f32 ,
11651164 pub is_ortho : bool ,
1166- pub ortho_scale_enabled : bool ,
1167- pub world_coord_system : WorldCoordinateSystem ,
11681165}
11691166
11701167impl Default for CameraViewState {
11711168 fn default ( ) -> Self {
11721169 CameraViewState {
11731170 pivot_rotation : Default :: default ( ) ,
11741171 pivot_position : Default :: default ( ) ,
1175- eye_offset : 10.0 ,
1172+ eye_offset : { x : 0.0 , y : 0.0 , z : 10.0 } ,
11761173 fov_y: 45 . 0 ,
1177- ortho_scale_factor : 1.6 ,
11781174 is_ortho: false,
1179- ortho_scale_enabled : true ,
1180- world_coord_system : Default :: default ( ) ,
11811175 }
11821176 }
11831177}
You can’t perform that action at this time.
0 commit comments