mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-11 00:27:43 +00:00
CPoseAsTransforms: Mark constructor as explicit
Prevents potentially error-prone implicit constructions.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user