mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 18:27:42 +00:00
Runtime: Add more usages of explicit
Prevents error-prone implicit conversions where applicable. This targets the regular RuntimeCommon target this time around.
This commit is contained in:
@@ -39,7 +39,7 @@ public:
|
||||
struct CRotationAndOffsetVectors {
|
||||
std::vector<zeus::CQuaternion> x0_rotations;
|
||||
std::vector<zeus::CVector3f> x10_offsets;
|
||||
CRotationAndOffsetVectors(CInputStream& in);
|
||||
explicit CRotationAndOffsetVectors(CInputStream& in);
|
||||
};
|
||||
u32 GetFrameSizeInBytes() const;
|
||||
RotationAndOffsetStorage(const CRotationAndOffsetVectors& vectors, u32 frameCount);
|
||||
@@ -61,7 +61,7 @@ class CAnimSource {
|
||||
void CalcAverageVelocity();
|
||||
|
||||
public:
|
||||
CAnimSource(CInputStream& in, IObjectStore& store);
|
||||
explicit CAnimSource(CInputStream& in, IObjectStore& store);
|
||||
|
||||
void GetSegStatementSet(const CSegIdList& list, CSegStatementSet& set, const CCharAnimTime& time) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user