mirror of https://github.com/AxioDL/metaforce.git
25 lines
798 B
C++
25 lines
798 B
C++
#include "CMetaAnimBlend.hpp"
|
|
#include "CMetaAnimFactory.hpp"
|
|
|
|
namespace urde {
|
|
|
|
CMetaAnimBlend::CMetaAnimBlend(CInputStream& in) {
|
|
x4_animA = CMetaAnimFactory::CreateMetaAnim(in);
|
|
x8_animB = CMetaAnimFactory::CreateMetaAnim(in);
|
|
xc_blend = in.readFloatBig();
|
|
x10_ = in.readBool();
|
|
}
|
|
|
|
void CMetaAnimBlend::GetUniquePrimitives(std::set<CPrimitive>& primsOut) const {
|
|
x4_animA->GetUniquePrimitives(primsOut);
|
|
x4_animA->GetUniquePrimitives(primsOut);
|
|
}
|
|
|
|
std::shared_ptr<CAnimTreeNode> CMetaAnimBlend::VGetAnimationTree(const CAnimSysContext& animSys,
|
|
const CMetaAnimTreeBuildOrders& orders) const {
|
|
// CMetaAnimTreeBuildOrders buildOrders = CMetaAnimTreeBuildOrders::NoSpecialOrders();
|
|
return {};
|
|
}
|
|
|
|
} // namespace urde
|