mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 07:07:42 +00:00
All animation nodes implemented
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
namespace urde
|
||||
{
|
||||
|
||||
std::shared_ptr<CAnimTreeNode> CTreeUtils::GetTransitionTree(const std::shared_ptr<CAnimTreeNode>& a,
|
||||
const std::shared_ptr<CAnimTreeNode>& b,
|
||||
std::shared_ptr<CAnimTreeNode> CTreeUtils::GetTransitionTree(const std::weak_ptr<CAnimTreeNode>& a,
|
||||
const std::weak_ptr<CAnimTreeNode>& b,
|
||||
const CAnimSysContext& animCtx)
|
||||
{
|
||||
CAnimTreeEffectiveContribution contribA = a->GetContributionOfHighestInfluence();
|
||||
CAnimTreeEffectiveContribution contribB = b->GetContributionOfHighestInfluence();
|
||||
CAnimTreeEffectiveContribution contribA = a.lock()->GetContributionOfHighestInfluence();
|
||||
CAnimTreeEffectiveContribution contribB = b.lock()->GetContributionOfHighestInfluence();
|
||||
return animCtx.x0_transDB->GetMetaTrans(contribA.GetAnimDatabaseIndex(),
|
||||
contribB.GetAnimDatabaseIndex())->GetTransitionTree(a, b, animCtx);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user