#include "CMetaTransMetaAnim.hpp" #include "CMetaAnimFactory.hpp" #include "CAnimTreeLoopIn.hpp" namespace urde { CMetaTransMetaAnim::CMetaTransMetaAnim(CInputStream& in) : x4_metaAnim(CMetaAnimFactory::CreateMetaAnim(in)) {} std::shared_ptr CMetaTransMetaAnim::VGetTransitionTree(const std::weak_ptr& a, const std::weak_ptr& b, const CAnimSysContext& animSys) const { std::shared_ptr animNode = x4_metaAnim->GetAnimationTree(animSys, CMetaAnimTreeBuildOrders::NoSpecialOrders()); return std::make_shared(a, b, animNode, animSys, CAnimTreeLoopIn::CreatePrimitiveName(a, b, animNode)); } } // namespace urde