2022-08-05 10:23:49 +00:00
|
|
|
#ifndef __CCAMERAHINT_HPP__
|
|
|
|
#define __CCAMERAHINT_HPP__
|
|
|
|
|
|
|
|
#include "Kyoto/Math/CVector3f.hpp"
|
2022-09-18 06:05:46 +00:00
|
|
|
#include "MetroidPrime/Cameras/CBallCamera.hpp"
|
|
|
|
#include "types.h"
|
2022-08-05 10:23:49 +00:00
|
|
|
|
|
|
|
class CCameraHint {
|
|
|
|
public:
|
2022-09-18 06:05:46 +00:00
|
|
|
CCameraHint(uint overrideFlags, CBallCamera::EBallCameraBehaviour behaviour, f32 minDist,
|
|
|
|
f32 maxDist, f32 backwardsDist, const CVector3f& lookAtOffset,
|
|
|
|
const CVector3f& chaseLookAtOffset, const CVector3f& ballToCam, f32 fov,
|
|
|
|
f32 attitudeRange, f32 azimuthRange, f32 anglePerSecond, f32 clampVelRange,
|
|
|
|
f32 clampRotRange, f32 elevation, f32 interpolateTime, f32 clampVelTime,
|
|
|
|
f32 controlInterpDur);
|
2022-08-05 10:23:49 +00:00
|
|
|
virtual ~CCameraHint();
|
2022-09-18 06:05:46 +00:00
|
|
|
|
2022-08-05 10:23:49 +00:00
|
|
|
private:
|
2022-09-05 04:01:13 +00:00
|
|
|
uint mOverrideFlags;
|
2022-08-05 10:23:49 +00:00
|
|
|
CBallCamera::EBallCameraBehaviour mBehaviour;
|
|
|
|
f32 mMinDist;
|
|
|
|
f32 mMaxDist;
|
|
|
|
f32 mBackwardsDist;
|
|
|
|
CVector3f mLookAtOffset;
|
|
|
|
CVector3f mChaseLookAtOffset;
|
|
|
|
CVector3f mBallToCam;
|
|
|
|
f32 mFov;
|
|
|
|
f32 mAttitudeRange;
|
|
|
|
f32 mAzimuthRange;
|
|
|
|
f32 mAnglePerSecond;
|
|
|
|
f32 mClampVelRange;
|
|
|
|
f32 mClampRotRange;
|
|
|
|
f32 mElevation;
|
|
|
|
f32 mInterpolateTime;
|
|
|
|
f32 mClampVelTime;
|
|
|
|
f32 mControlInterpDur;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __CCAMERAHINT_HPP__
|