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
|
|
|
|
{
|
2017-10-09 02:41:50 +00:00
|
|
|
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&);
|
2017-10-09 02:41:50 +00:00
|
|
|
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__
|