mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-14 04:31:22 +00:00
30 lines
838 B
C++
30 lines
838 B
C++
#ifndef __URDE_CCAMERASPLINE_HPP__
|
|
#define __URDE_CCAMERASPLINE_HPP__
|
|
|
|
#include "World/CEntityInfo.hpp"
|
|
|
|
namespace urde
|
|
{
|
|
class CStateManager;
|
|
class CCameraSpline
|
|
{
|
|
friend class CBallCamera;
|
|
std::vector<zeus::CVector3f> x4_positions;
|
|
std::vector<TUniqueId> x14_;
|
|
std::vector<float> x24_;
|
|
std::vector<zeus::CVector3f> x34_directions;
|
|
float x44_ = 0.f;
|
|
bool x48_ = false;
|
|
public:
|
|
CCameraSpline(bool);
|
|
void CalculateKnots(TUniqueId, const std::vector<SConnection>&, CStateManager&);
|
|
void Initialize(TUniqueId, const std::vector<SConnection>&, CStateManager&);
|
|
void Reset(int size);
|
|
void AddKnot(const zeus::CVector3f& pos, const zeus::CVector3f& dir);
|
|
void SetKnotPosition(int idx, const zeus::CVector3f& pos);
|
|
float CalculateSplineLength();
|
|
};
|
|
}
|
|
|
|
#endif // __URDE_CCAMERASPLINE_HPP__
|