2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-01 05:33:29 +00:00

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

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;