mirror of https://github.com/AxioDL/metaforce.git
CCameraSpline: Make constructor explicit
Same behavior, but prevents error-prone implicit constructions from occurring.
This commit is contained in:
parent
f1fce0f631
commit
20548ddeaa
|
@ -19,7 +19,7 @@ class CCameraSpline {
|
|||
rstl::reserved_vector<zeus::CVector3f, 4>& directions) const;
|
||||
|
||||
public:
|
||||
CCameraSpline(bool closedLoop);
|
||||
explicit CCameraSpline(bool closedLoop);
|
||||
void CalculateKnots(TUniqueId cameraId, const std::vector<SConnection>& connections, CStateManager& mgr);
|
||||
void Initialize(TUniqueId cameraId, const std::vector<SConnection>& connections, CStateManager& mgr);
|
||||
void Reset(int size);
|
||||
|
|
Loading…
Reference in New Issue