NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
Definition at line 62 of file g3d_camera.h.
Classes | |
struct | PostureInfo |
Public Types | |
enum | PostureType { POSTURE_LOOKAT , POSTURE_ROTATE , POSTURE_AIM } |
Public Member Functions | |
Camera (CameraData *pData) | |
void | Init () |
void | Init (u16 efbWidth, u16 efbHeight, u16 xfbWidth, u16 xfbHeight, u16 viWidth, u16 viHeight) |
void | SetPosition (f32 x, f32 y, f32 z) |
void | SetPosition (const math::VEC3 &rPos) |
void | SetPosture (const PostureInfo &rInfo) |
void | SetCameraMtxDirectly (const math::MTX34 &rMtx) |
void | SetPerspective (f32 fovy, f32 aspect, f32 near, f32 far) |
void | SetOrtho (f32 top, f32 bottom, f32 left, f32 right, f32 near, f32 far) |
void | SetProjectionMtxDirectly (const math::MTX44 *pMtx) |
void | SetScissor (ulong x, ulong y, ulong width, ulong height) |
void | SetScissorBoxOffset (s32 ox, s32 oy) |
void | SetViewport (f32 x, f32 y, f32 width, f32 height) |
void | SetViewportZRange (f32 near, f32 far) |
void | GetViewport (f32 *pX, f32 *pY, f32 *pWidth, f32 *pHeight, f32 *pNear, f32 *pFar) const |
void | GetCameraMtx (math::MTX34 *pMtx) const |
void | GetProjectionMtx (math::MTX44 *pMtx) const |
void | GetProjectionTexMtx (math::MTX34 *pMtx) const |
void | GetEnvironmentTexMtx (math::MTX34 *pMtx) const |
void | GXSetViewport () const |
void | GXSetProjection () const |
void | GXSetScissor () const |
void | GXSetScissorBoxOffset () const |
GXProjectionType | GetProjectionType () const |
![]() | |
ResCommon (void *pData) | |
ResCommon (const void *pData) | |
bool | IsValid () const |
CameraData * | ptr () |
const CameraData * | ptr () const |
CameraData & | ref () |
const CameraData & | ref () const |
CameraData * | ofs_to_ptr_raw (s32 ofs) |
const CameraData * | ofs_to_ptr_raw (s32 ofs) const |
CameraData * | ofs_to_ptr (s32 ofs) |
const CameraData * | ofs_to_ptr (s32 ofs) const |
CameraData | ofs_to_obj (s32 ofs) |
const CameraData | ofs_to_obj (s32 ofs) const |
Private Member Functions | |
void | UpdateCameraMtx () const |
void | UpdateProjectionMtx () const |
enum nw4r::g3d::Camera::PostureType |
Definition at line 64 of file g3d_camera.h.
|
inline |
Definition at line 108 of file g3d_camera.h.