metaforce/Runtime/Camera/CCameraSpline.hpp

29 lines
754 B
C++
Raw Normal View History

2017-01-30 02:15:21 +00:00
#ifndef __URDE_CCAMERASPLINE_HPP__
#define __URDE_CCAMERASPLINE_HPP__
#include "World/CEntityInfo.hpp"
namespace urde
{
class CStateManager;
class CCameraSpline
{
friend class CBallCamera;
2017-01-30 02:15:21 +00:00
std::vector<zeus::CVector3f> x4_;
std::vector<TUniqueId> x14_;
std::vector<float> x24_;
std::vector<zeus::CVector3f> x34_;
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& v0, const zeus::CVector3f& v1);
float CalculateSplineLength();
2017-01-30 02:15:21 +00:00
};
}
#endif // __URDE_CCAMERASPLINE_HPP__