refactor: replace HRP with NVP in Cylinder serialization and add stream operators for TRS

This commit is contained in:
AndreaRigoni
2026-04-02 11:56:25 +00:00
parent 4435776484
commit 6068b62e39
3 changed files with 12 additions and 1 deletions

View File

@@ -86,7 +86,7 @@ public:
ar & HRP(Radius);
ar & HRP(Height);
ar & boost::serialization::make_hrp_enum("Axis", Axis, {"X", "Y", "Z"});
ar & HRP("TRS", boost::serialization::base_object<TRS>(*this));
ar & NVP("TRS", boost::serialization::base_object<TRS>(*this));
}
/** Sets the radius of the cylinder */