We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a66c054 commit b09d921Copy full SHA for b09d921
Plugin/src/SofaPython3/PythonFactory.cpp
@@ -508,6 +508,11 @@ bool PythonFactory::registerDefaultTypes()
508
PythonFactory::registerType<sofa::defaulttype::Rigid3fTypes::Coord>("Rigid3f::Coord");
509
PythonFactory::registerType<sofa::defaulttype::Rigid3Types::Coord>("Rigid3::Coord");
510
511
+ /// Quaternion
512
+ PythonFactory::registerType<sofa::type::Quat<double>>("Quatd");
513
+ PythonFactory::registerType<sofa::type::Quat<float>>("Quatf");
514
+ PythonFactory::registerType<sofa::type::Quat<SReal>>("Quat");
515
+
516
// Rigid3 vectors
517
PythonFactory::registerType<sofa::defaulttype::Rigid3dTypes::VecCoord>("Rigid3d::VecCoord");
518
PythonFactory::registerType<sofa::defaulttype::Rigid3fTypes::VecCoord>("Rigid3f::VecCoord");
0 commit comments