2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-12 13:26:10 +00:00

CFlyingPirateRagDoll: Implement PreRender, Prime

This commit is contained in:
2020-03-15 01:04:01 -04:00
parent 57386e6269
commit 932615593e
3 changed files with 49 additions and 10 deletions

View File

@@ -13,16 +13,18 @@ class CLayoutDescription;
class CPoseAsTransforms;
class CHierarchyPoseBuilder {
CLayoutDescription x0_layoutDesc;
CSegId x30_rootId;
bool x34_hasRoot = false;
public:
struct CTreeNode {
CSegId x0_child = 0;
CSegId x1_sibling = 0;
zeus::CQuaternion x4_rotation;
zeus::CVector3f x14_offset;
};
private:
CLayoutDescription x0_layoutDesc;
CSegId x30_rootId;
bool x34_hasRoot = false;
TSegIdMap<CTreeNode> x38_treeMap;
void BuildIntoHierarchy(const CCharLayoutInfo& layout, const CSegId& boneId, const CSegId& nullId);