Make fields for TransformNode, Deformer, DynamicTransform public

This commit is contained in:
sabrina-shanman 2019-09-16 11:09:34 -07:00
parent 76b1f551b1
commit 517bef63a9

View file

@ -288,17 +288,20 @@ public:
}; };
class TransformNode { class TransformNode {
public:
uint32_t parent { 0 }; uint32_t parent { 0 };
Transform transform; Transform transform;
}; };
// Formerly contained in hfm::Mesh // Formerly contained in hfm::Mesh
class Deformer { class Deformer {
public:
std::vector<uint16_t> indices; std::vector<uint16_t> indices;
std::vector<uint16_t> weights; std::vector<uint16_t> weights;
}; };
class DynamicTransform { class DynamicTransform {
public:
std::vector<uint32_t> deformers; std::vector<uint32_t> deformers;
std::vector<Cluster> clusters; // affect the deformer of the same index std::vector<Cluster> clusters; // affect the deformer of the same index
std::vector<uint32_t> blendshapes; std::vector<uint32_t> blendshapes;