mirror of https://github.com/AxioDL/metaforce.git
CPoseAsTransforms: Mark constructor as explicit
Prevents potentially error-prone implicit constructions.
This commit is contained in:
parent
574fc9b840
commit
cc6d50a1aa
|
@ -29,7 +29,7 @@ private:
|
||||||
CSegId xd4_lastInserted = 0;
|
CSegId xd4_lastInserted = 0;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CPoseAsTransforms(u8 boneCount);
|
explicit CPoseAsTransforms(u8 boneCount);
|
||||||
bool ContainsDataFor(const CSegId& id) const;
|
bool ContainsDataFor(const CSegId& id) const;
|
||||||
void Clear();
|
void Clear();
|
||||||
void AccumulateScaledTransform(const CSegId& id, zeus::CMatrix3f& rotation, float scale) const;
|
void AccumulateScaledTransform(const CSegId& id, zeus::CMatrix3f& rotation, float scale) const;
|
||||||
|
|
Loading…
Reference in New Issue