CCameraSpline: Add names to prototypes

More self-documenting from the interface alone.
This commit is contained in:
Lioncash 2020-03-25 02:40:00 -04:00
parent 7bced5308b
commit f1fce0f631
2 changed files with 4 additions and 4 deletions

View File

@ -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) {
CalculateKnots(camId, connections, mgr);
void CCameraSpline::Initialize(TUniqueId cameraId, const std::vector<SConnection>& connections, CStateManager& mgr) {
CalculateKnots(cameraId, connections, mgr);
x44_length = CalculateSplineLength();
}

View File

@ -20,8 +20,8 @@ class CCameraSpline {
public:
CCameraSpline(bool closedLoop);
void CalculateKnots(TUniqueId, const std::vector<SConnection>&, CStateManager&);
void Initialize(TUniqueId, const std::vector<SConnection>&, CStateManager&);
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);
void AddKnot(const zeus::CVector3f& pos, const zeus::CVector3f& dir);
void SetKnotPosition(int idx, const zeus::CVector3f& pos);