Add CVirtualBone and CSkinRules

Former-commit-id: 7764f30c5b
This commit is contained in:
2023-01-12 12:37:45 -08:00
parent 3eda1af145
commit fd5f4fa193
10 changed files with 251 additions and 90 deletions

View File

@@ -0,0 +1,26 @@
#ifndef _CPOSEASTRANSFORMS
#define _CPOSEASTRANSFORMS
#include "types.h"
#include "MetroidPrime/TGameTypes.hpp"
#include "Kyoto/Math/CTransform4f.hpp"
#include "rstl/reserved_vector.hpp"
#include "rstl/single_ptr.hpp"
class CPoseAsTransforms {
public:
const CMatrix3f& GetRotation(const CSegId& id) const;
private:
CSegId x0_nextId;
CSegId x1_count;
// TODO TSegIdMapVariableSize<CPoseAsTransforms::CElementType>
rstl::reserved_vector< rstl::pair< CSegId, CSegId >, 100 > x4_links;
rstl::single_ptr< CTransform4f > xd0_transformArr;
CSegId xd4_lastInserted;
};
CHECK_SIZEOF(CPoseAsTransforms, 0xd8)
#endif // _CPOSEASTRANSFORMS