2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 11:47:42 +00:00

Implement GetLocatorTransform

This commit is contained in:
2016-09-02 20:47:57 -07:00
parent ce3014b313
commit 8422ffb436
4 changed files with 22 additions and 4 deletions

View File

@@ -16,6 +16,15 @@ zeus::CVector3f CCharLayoutInfo::GetFromParentUnrotated(const CSegId& id) const
}
}
CSegId CCharLayoutInfo::GetSegIdFromString(const std::string& name) const
{
auto it = x18_segIdMap.find(name);
if (it == x18_segIdMap.end())
return {};
return (*it).second;
}
void CCharLayoutNode::Bone::read(CInputStream& in)
{
x0_parentId = CSegId(in);