mirror of https://github.com/AxioDL/metaforce.git
CCameraSpline: Add names to prototypes
More self-documenting from the interface alone.
This commit is contained in:
parent
7bced5308b
commit
f1fce0f631
|
@ -45,8 +45,8 @@ void CCameraSpline::CalculateKnots(TUniqueId cameraId, const std::vector<SConnec
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraSpline::Initialize(TUniqueId camId, const std::vector<SConnection>& connections, CStateManager& mgr) {
|
void CCameraSpline::Initialize(TUniqueId cameraId, const std::vector<SConnection>& connections, CStateManager& mgr) {
|
||||||
CalculateKnots(camId, connections, mgr);
|
CalculateKnots(cameraId, connections, mgr);
|
||||||
x44_length = CalculateSplineLength();
|
x44_length = CalculateSplineLength();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,8 @@ class CCameraSpline {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CCameraSpline(bool closedLoop);
|
CCameraSpline(bool closedLoop);
|
||||||
void CalculateKnots(TUniqueId, const std::vector<SConnection>&, CStateManager&);
|
void CalculateKnots(TUniqueId cameraId, const std::vector<SConnection>& connections, CStateManager& mgr);
|
||||||
void Initialize(TUniqueId, const std::vector<SConnection>&, CStateManager&);
|
void Initialize(TUniqueId cameraId, const std::vector<SConnection>& connections, CStateManager& mgr);
|
||||||
void Reset(int size);
|
void Reset(int size);
|
||||||
void AddKnot(const zeus::CVector3f& pos, const zeus::CVector3f& dir);
|
void AddKnot(const zeus::CVector3f& pos, const zeus::CVector3f& dir);
|
||||||
void SetKnotPosition(int idx, const zeus::CVector3f& pos);
|
void SetKnotPosition(int idx, const zeus::CVector3f& pos);
|
||||||
|
|
Loading…
Reference in New Issue