mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 11:47:42 +00:00
Implement GetLocatorTransform
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user