mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 12:27:43 +00:00
Work on character animation
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "CSkinBank.hpp"
|
||||
#include "CPoseAsTransforms.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
@@ -11,4 +12,11 @@ CSkinBank::CSkinBank(CInputStream& in)
|
||||
x0_segments.emplace_back(in);
|
||||
}
|
||||
|
||||
void CSkinBank::GetBankTransforms(std::vector<const zeus::CTransform*>& out,
|
||||
const CPoseAsTransforms& pose) const
|
||||
{
|
||||
for (CSegId id : x0_segments)
|
||||
out.push_back(&pose.GetTransform(id));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user