Merge pull request #16199 from sabrina-shanman/instancing_shape

Make fields for TransformNode, Deformer, DynamicTransform public
This commit is contained in:
Sabrina Shanman 2019-09-16 11:11:19 -07:00 committed by GitHub
commit bbe9e6fc61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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