2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CCAMERAHINT
|
|
|
|
#define _CCAMERAHINT
|
2022-08-05 10:23:49 +00:00
|
|
|
|
|
|
|
#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-10-05 23:34:32 +00:00
|
|
|
CCameraHint(uint overrideFlags, CBallCamera::EBallCameraBehaviour behaviour, float minDist,
|
|
|
|
float maxDist, float backwardsDist, const CVector3f& lookAtOffset,
|
|
|
|
const CVector3f& chaseLookAtOffset, const CVector3f& ballToCam, float fov,
|
|
|
|
float attitudeRange, float azimuthRange, float anglePerSecond, float clampVelRange,
|
|
|
|
float clampRotRange, float elevation, float interpolateTime, float clampVelTime,
|
|
|
|
float 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;
|
2022-10-05 23:34:32 +00:00
|
|
|
float mMinDist;
|
|
|
|
float mMaxDist;
|
|
|
|
float mBackwardsDist;
|
2022-08-05 10:23:49 +00:00
|
|
|
CVector3f mLookAtOffset;
|
|
|
|
CVector3f mChaseLookAtOffset;
|
|
|
|
CVector3f mBallToCam;
|
2022-10-05 23:34:32 +00:00
|
|
|
float mFov;
|
|
|
|
float mAttitudeRange;
|
|
|
|
float mAzimuthRange;
|
|
|
|
float mAnglePerSecond;
|
|
|
|
float mClampVelRange;
|
|
|
|
float mClampRotRange;
|
|
|
|
float mElevation;
|
|
|
|
float mInterpolateTime;
|
|
|
|
float mClampVelTime;
|
|
|
|
float mControlInterpDur;
|
2022-08-05 10:23:49 +00:00
|
|
|
};
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CCAMERAHINT
|