mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 10:13:15 +02:00
Make fields for TransformNode, Deformer, DynamicTransform public
This commit is contained in:
parent
76b1f551b1
commit
517bef63a9
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue