metaforce/Runtime/Character/CMetaAnimPhaseBlend.cpp

29 lines
704 B
C++
Raw Normal View History

2016-04-10 21:22:59 +00:00
#include "CMetaAnimPhaseBlend.hpp"
2016-04-11 03:59:54 +00:00
#include "CMetaAnimFactory.hpp"
2016-04-10 21:22:59 +00:00
namespace urde
{
CMetaAnimPhaseBlend::CMetaAnimPhaseBlend(CInputStream& in)
{
2016-04-11 03:59:54 +00:00
x4_animA = CMetaAnimFactory::CreateMetaAnim(in);
x8_animB = CMetaAnimFactory::CreateMetaAnim(in);
xc_blend = in.readFloatBig();
x10_ = in.readBool();
2016-04-10 21:22:59 +00:00
}
void CMetaAnimPhaseBlend::GetUniquePrimitives(std::set<CPrimitive>& primsOut) const
{
2017-11-24 08:01:06 +00:00
x4_animA->GetUniquePrimitives(primsOut);
x8_animB->GetUniquePrimitives(primsOut);
2016-04-10 21:22:59 +00:00
}
std::shared_ptr<CAnimTreeNode>
CMetaAnimPhaseBlend::VGetAnimationTree(const CAnimSysContext& animSys,
const CMetaAnimTreeBuildOrders& orders) const
{
2016-05-21 03:02:09 +00:00
return {};
2016-04-10 21:22:59 +00:00
}
}