@@ -44,34 +44,6 @@ namespace plateau::meshWriter {
4444 ios->SetBoolProp (EXP_FBX_GLOBAL_SETTINGS, true );
4545 ios->SetBoolProp (EXP_ASCIIFBX, options.file_format == FbxFileFormat::ASCII);
4646 const auto fbx_scene = FbxScene::Create (manager_, " " );
47- FbxAxisSystem axis_system;
48- switch (options.coordinate_system ) {
49- case geometry::CoordinateSystem::ENU:
50- axis_system = FbxAxisSystem (
51- FbxAxisSystem::EUpVector::eZAxis,
52- FbxAxisSystem::EFrontVector::eParityEven,
53- FbxAxisSystem::eRightHanded);
54- break ;
55- case geometry::CoordinateSystem::ESU:
56- axis_system = FbxAxisSystem (
57- FbxAxisSystem::EUpVector::eZAxis,
58- FbxAxisSystem::EFrontVector::eParityEven,
59- FbxAxisSystem::eLeftHanded);
60- break ;
61- case geometry::CoordinateSystem::WUN:
62- axis_system = FbxAxisSystem (
63- FbxAxisSystem::EUpVector::eYAxis,
64- FbxAxisSystem::EFrontVector::eParityEven,
65- FbxAxisSystem::eRightHanded);
66- break ;
67- case geometry::CoordinateSystem::EUN:
68- axis_system = FbxAxisSystem (
69- FbxAxisSystem::EUpVector::eYAxis,
70- FbxAxisSystem::EFrontVector::eParityEven,
71- FbxAxisSystem::eLeftHanded);
72- break ;
73- }
74- axis_system.ConvertScene (fbx_scene);
7547
7648 // create scene info
7749 FbxDocumentInfo* SceneInfo = FbxDocumentInfo::Create (manager_, " SceneInfo" );
0 commit comments