2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 02:27:43 +00:00

Initial CPathCamera imps

This commit is contained in:
2018-06-24 18:02:29 -07:00
parent 186acae5d8
commit 21b25f72a3
6 changed files with 117 additions and 3 deletions

View File

@@ -31,6 +31,9 @@ public:
void UpdateSplineLength() { x44_length = CalculateSplineLength(); }
zeus::CTransform GetInterpolatedSplinePointByLength(float pos) const;
zeus::CVector3f GetInterpolatedSplinePointByTime(float time, float range) const;
float FindClosestLengthAlongSpline(float time, const zeus::CVector3f& p);
s32 GetSize() const { return x4_positions.size(); }
float GetLength() const { return x44_length; }
};
}