#include <seadProjection.h>
Inherited by sead::FrustumProjection, sead::OrthoProjection, and sead::PerspectiveProjection.
|
| | Projection () |
| virtual | ~Projection () |
| void | setDirty () |
| void | setDeviceDirty () |
| void | setDevicePosture (Graphics::DevicePosture pose) |
| const Matrix44f & | getProjectionMatrix () const |
| Matrix44f & | getProjectionMatrixMutable () |
| const Matrix44f & | getDeviceProjectionMatrix () const |
| void | cameraPosToScreenPos (Vector3f *dst, const Vector3f &camera_pos) const |
| void | screenPosToCameraPos (Vector3f *dst, const Vector3f &screen_pos) const |
| void | screenPosToCameraPos (Vector3f *dst, const Vector2f &screen_pos) const |
| void | project (Vector2f *dst, const Vector3f &camera_pos, const Viewport &viewport) const |
| void | unproject (Vector3f *dst, const Vector3f &screen_pos, const Camera &camera) const |
| void | unprojectRay (Ray< Vector3f > *dst, const Vector3f &screen_pos, const Camera &camera) const |
| virtual Type | getProjectionType () const =0 |
| virtual void | doUpdateMatrix (Matrix44f *dst) const =0 |
| virtual void | doUpdateDeviceMatrix (Matrix44f *dst, const Matrix44f &src, Graphics::DevicePosture pose) const |
| virtual void | doScreenPosToCameraPosTo (Vector3f *dst, const Vector3f &screen_pos) const =0 |
◆ Type
| Enumerator |
|---|
| cType_Perspective | |
| cType_Ortho | |
| cType_Undefined | |
◆ Projection()
| sead::Projection::Projection |
( |
| ) |
|
◆ ~Projection()
| sead::Projection::~Projection |
( |
| ) |
|
|
virtual |
◆ setDirty()
| void sead::Projection::setDirty |
( |
| ) |
|
|
inline |
◆ setDeviceDirty()
| void sead::Projection::setDeviceDirty |
( |
| ) |
|
|
inline |
◆ setDevicePosture()
◆ getProjectionMatrix()
| const Matrix44f & sead::Projection::getProjectionMatrix |
( |
| ) |
const |
◆ getProjectionMatrixMutable()
| Matrix44f & sead::Projection::getProjectionMatrixMutable |
( |
| ) |
|
◆ getDeviceProjectionMatrix()
| const Matrix44f & sead::Projection::getDeviceProjectionMatrix |
( |
| ) |
const |
◆ cameraPosToScreenPos()
| void sead::Projection::cameraPosToScreenPos |
( |
Vector3f * | dst, |
|
|
const Vector3f & | camera_pos ) const |
◆ screenPosToCameraPos() [1/2]
| void sead::Projection::screenPosToCameraPos |
( |
Vector3f * | dst, |
|
|
const Vector3f & | screen_pos ) const |
◆ screenPosToCameraPos() [2/2]
| void sead::Projection::screenPosToCameraPos |
( |
Vector3f * | dst, |
|
|
const Vector2f & | screen_pos ) const |
◆ project()
◆ unproject()
◆ unprojectRay()
◆ getProjectionType()
| virtual Type sead::Projection::getProjectionType |
( |
| ) |
const |
|
pure virtual |
◆ doUpdateMatrix()
| virtual void sead::Projection::doUpdateMatrix |
( |
Matrix44f * | dst | ) |
const |
|
pure virtual |
◆ doUpdateDeviceMatrix()
◆ doScreenPosToCameraPosTo()
| virtual void sead::Projection::doScreenPosToCameraPosTo |
( |
Vector3f * | dst, |
|
|
const Vector3f & | screen_pos ) const |
|
pure virtual |
◆ updateMatrixImpl_()
| void sead::Projection::updateMatrixImpl_ |
( |
| ) |
const |
|
private |
◆ mDirty
| bool sead::Projection::mDirty |
|
mutableprivate |
◆ mDeviceDirty
| bool sead::Projection::mDeviceDirty |
|
mutableprivate |
◆ mMatrix
◆ mDeviceMatrix
◆ mDevicePosture
◆ mDeviceZScale
| f32 sead::Projection::mDeviceZScale |
|
private |
◆ mDeviceZOffset
| f32 sead::Projection::mDeviceZOffset |
|
private |