mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-23 09:04:21 +00:00
43 lines
1.1 KiB
C++
43 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include <gfx/seadCamera.h>
|
|
#include <math/seadMatrix.h>
|
|
|
|
namespace al {
|
|
|
|
class CameraViewFlag;
|
|
struct OrthoProjectionInfo;
|
|
class Projection;
|
|
|
|
class CameraViewInfo {
|
|
public:
|
|
CameraViewInfo(s32 index, const sead::LookAtCamera& lookAtCam, const Projection& projection,
|
|
const CameraViewFlag& flag, const OrthoProjectionInfo& orthoProjectionInfo);
|
|
|
|
const sead::Projection& getProjectionSead() const;
|
|
const sead::Matrix44f& getProjMtx() const;
|
|
const sead::Matrix44f& getProjMtxStd() const;
|
|
f32 getAspect() const;
|
|
f32 getNear() const;
|
|
f32 getFar() const;
|
|
|
|
s32 getIndex() const { return mIndex; }
|
|
|
|
bool isValid() const { return mIsValid; }
|
|
|
|
const sead::LookAtCamera& getLookAtCam() const { return mLookAtCam; }
|
|
|
|
const Projection& getProjection() const { return mProjection; }
|
|
|
|
private:
|
|
s32 mIndex;
|
|
bool mIsValid = true;
|
|
bool mIsActiveInterpole = true;
|
|
bool _6 = false;
|
|
const sead::LookAtCamera& mLookAtCam;
|
|
const Projection& mProjection;
|
|
const CameraViewFlag& mViewFlag;
|
|
const OrthoProjectionInfo& mOrthoProjectionInfo;
|
|
};
|
|
} // namespace al
|