CPoseAsTransforms: Mark constructor as explicit

Prevents potentially error-prone implicit constructions.
This commit is contained in:
Lioncash 2020-03-16 16:05:50 -04:00
parent 574fc9b840
commit cc6d50a1aa
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ private:
CSegId xd4_lastInserted = 0;
public:
CPoseAsTransforms(u8 boneCount);
explicit CPoseAsTransforms(u8 boneCount);
bool ContainsDataFor(const CSegId& id) const;
void Clear();
void AccumulateScaledTransform(const CSegId& id, zeus::CMatrix3f& rotation, float scale) const;