mirror of https://github.com/AxioDL/metaforce.git
CCharLayoutInfo: Make constructors explicit
Makes constructions of the types visibly explicit, given they aren't conversion constructors.
This commit is contained in:
parent
bb9da96870
commit
69831b4a13
|
@ -28,7 +28,7 @@ private:
|
||||||
TSegIdMap<Bone> x0_boneMap;
|
TSegIdMap<Bone> x0_boneMap;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CCharLayoutNode(CInputStream& in);
|
explicit CCharLayoutNode(CInputStream& in);
|
||||||
const TSegIdMap<Bone>& GetBoneMap() const { return x0_boneMap; }
|
const TSegIdMap<Bone>& GetBoneMap() const { return x0_boneMap; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ class CCharLayoutInfo {
|
||||||
std::map<std::string, CSegId, std::less<>> x18_segIdMap;
|
std::map<std::string, CSegId, std::less<>> x18_segIdMap;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CCharLayoutInfo(CInputStream& in);
|
explicit CCharLayoutInfo(CInputStream& in);
|
||||||
const std::shared_ptr<CCharLayoutNode>& GetRootNode() const { return x0_node; }
|
const std::shared_ptr<CCharLayoutNode>& GetRootNode() const { return x0_node; }
|
||||||
const CSegIdList& GetSegIdList() const { return x8_segIdList; }
|
const CSegIdList& GetSegIdList() const { return x8_segIdList; }
|
||||||
zeus::CVector3f GetFromParentUnrotated(const CSegId& id) const;
|
zeus::CVector3f GetFromParentUnrotated(const CSegId& id) const;
|
||||||
|
|
Loading…
Reference in New Issue