diff --git a/libraries/hfm/src/hfm/HFM.h b/libraries/hfm/src/hfm/HFM.h index 484a10aa3b..291d0fd6e3 100644 --- a/libraries/hfm/src/hfm/HFM.h +++ b/libraries/hfm/src/hfm/HFM.h @@ -287,6 +287,21 @@ public: bool shouldInitCollisions() const { return _collisionsConfig.size() > 0; } }; +class ShapeTransform { + std::vector clusters; + Extents meshExtents; + Transform modelTransform; +}; + +// The lightweight model part description. +class Shape { +public: + uint32_t mesh; + uint32_t meshPart; + uint32_t material; + uint32_t shapeTransform; +}; + /// The runtime model format. class Model { public: @@ -297,6 +312,8 @@ public: QString author; QString applicationName; ///< the name of the application that generated the model + std::vector shapes; + QVector joints; QHash jointIndices; ///< 1-based, so as to more easily detect missing indices bool hasSkeletonJoints;