metaforce/Runtime/Camera/CPathCamera.cpp

35 lines
965 B
C++
Raw Normal View History

#include "CPathCamera.hpp"
#include "CCameraManager.hpp"
2017-11-20 17:33:21 +00:00
#include "TCastTo.hpp"
namespace urde
{
2017-11-13 06:19:18 +00:00
CPathCamera::CPathCamera(TUniqueId uid, std::string_view name, const CEntityInfo& info,
2017-11-20 17:33:21 +00:00
const zeus::CTransform& xf, bool active, float f1, float f2,
float f3, float f4, float f5, u32 flags, EInitialSplinePosition initPos)
: CGameCamera(uid, active, name, info, xf,
2016-10-31 22:56:44 +00:00
CCameraManager::ThirdPersonFOV(),
CCameraManager::NearPlane(),
CCameraManager::FarPlane(),
CCameraManager::Aspect(), kInvalidUniqueId, 0, 0)
2017-11-20 17:33:21 +00:00
, x188_spline(flags & 1), x1dc_(f1), x1e0_(f2), x1e4_(f3), x1e8_initPos(initPos)
, x1ec_flags(flags), x1f0_(f4), x1f4_(f5)
{
}
2017-11-20 17:33:21 +00:00
void CPathCamera::Accept(IVisitor& visitor)
{
visitor.Visit(this);
}
void CPathCamera::ProcessInput(const CFinalInput&, CStateManager& mgr)
{
}
void CPathCamera::Reset(const zeus::CTransform&, CStateManager& mgr)
{
}
}