Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
dDemo_camera_c Class Reference

#include <d_demo.h>

+ Inheritance diagram for dDemo_camera_c:
+ Collaboration diagram for dDemo_camera_c:

Public Types

enum  Enable_e {
  ENABLE_PROJ_NEAR_e = (1 << 0) , ENABLE_PROJ_FAR_e = (1 << 1) , ENABLE_PROJ_FOVY_e = (1 << 2) , ENABLE_PROJ_ASPECT_e = (1 << 3) ,
  ENABLE_VIEW_POS_e = (1 << 4) , ENABLE_VIEW_UP_VEC_e = (1 << 5) , ENABLE_VIEW_TARG_POS_e = (1 << 6) , ENABLE_VIEW_ROLL_e = (1 << 7)
}
 

Public Member Functions

 dDemo_camera_c ()
 
virtual ~dDemo_camera_c ()
 
virtual f32 JSGGetProjectionNear () const
 
virtual void JSGSetProjectionNear (f32)
 
virtual f32 JSGGetProjectionFar () const
 
virtual void JSGSetProjectionFar (f32)
 
virtual f32 JSGGetProjectionFovy () const
 
virtual void JSGSetProjectionFovy (f32)
 
virtual f32 JSGGetProjectionAspect () const
 
virtual void JSGSetProjectionAspect (f32)
 
virtual void JSGGetViewPosition (Vec *) const
 
virtual void JSGSetViewPosition (Vec const &)
 
virtual void JSGGetViewUpVector (Vec *) const
 
virtual void JSGSetViewUpVector (Vec const &)
 
virtual void JSGGetViewTargetPosition (Vec *) const
 
virtual void JSGSetViewTargetPosition (Vec const &)
 
virtual f32 JSGGetViewRoll () const
 
virtual void JSGSetViewRoll (f32)
 
void onEnable (u8 flag)
 
bool checkEnable (u8 flag)
 
cXyzgetTarget ()
 
cXyzgetTrans ()
 
cXyzgetUp ()
 
f32 getFovy ()
 
f32 getRoll ()
 
- Public Member Functions inherited from JStage::TCamera
virtual ~TCamera ()=0
 
virtual s32 JSGFGetType () const
 
virtual bool JSGGetProjectionType () const
 
virtual void JSGSetProjectionType (JStage::TECameraProjection)
 
virtual void JSGGetProjectionField (f32 *) const
 
virtual void JSGSetProjectionField (f32 const *)
 
virtual bool JSGGetViewType () const
 
virtual void JSGSetViewType (JStage::TECameraView)
 
- Public Member Functions inherited from JStage::TObject
virtual ~TObject ()=0
 
virtual bool JSGGetName () const
 
virtual void JSGUpdate ()
 
virtual u32 JSGGetFlag () const
 
virtual void JSGSetFlag (u32)
 
virtual bool JSGGetData (u32, void *, u32) const
 
virtual void JSGSetData (u32, void const *, u32)
 
virtual void JSGGetParent (JStage::TObject **, u32 *) const
 
virtual void JSGSetParent (JStage::TObject *, u32)
 
virtual void JSGSetRelation (bool, JStage::TObject *, u32)
 
virtual s32 JSGFindNodeID (char const *) const
 
virtual bool JSGGetNodeTransformation (u32, f32(*)[4]) const
 
void JSGFEnableFlag (u32 flag)
 
void JSGFDisableFlag (u32 flag)
 

Private Attributes

u8 mFlags
 
f32 mProjNear
 
f32 mProjFar
 
f32 mProjFovy
 
f32 mProjAspect
 
cXyz mViewPos
 
cXyz mViewUpVector
 
cXyz mViewTargetVector
 
f32 mViewRoll
 

Member Enumeration Documentation

◆ Enable_e

Enumerator
ENABLE_PROJ_NEAR_e 
ENABLE_PROJ_FAR_e 
ENABLE_PROJ_FOVY_e 
ENABLE_PROJ_ASPECT_e 
ENABLE_VIEW_POS_e 
ENABLE_VIEW_UP_VEC_e 
ENABLE_VIEW_TARG_POS_e 
ENABLE_VIEW_ROLL_e 

Constructor & Destructor Documentation

◆ dDemo_camera_c()

dDemo_camera_c::dDemo_camera_c ( )
inline

◆ ~dDemo_camera_c()

dDemo_camera_c::~dDemo_camera_c ( )
virtual

Member Function Documentation

◆ checkEnable()

bool dDemo_camera_c::checkEnable ( u8  flag)
inline

◆ getFovy()

f32 dDemo_camera_c::getFovy ( )
inline

◆ getRoll()

f32 dDemo_camera_c::getRoll ( )
inline

◆ getTarget()

cXyz & dDemo_camera_c::getTarget ( )
inline

◆ getTrans()

cXyz & dDemo_camera_c::getTrans ( )
inline

◆ getUp()

cXyz & dDemo_camera_c::getUp ( )
inline

◆ JSGGetProjectionAspect()

f32 dDemo_camera_c::JSGGetProjectionAspect ( ) const
virtual

Reimplemented from JStage::TCamera.

◆ JSGGetProjectionFar()

f32 dDemo_camera_c::JSGGetProjectionFar ( ) const
virtual

Reimplemented from JStage::TCamera.

◆ JSGGetProjectionFovy()

f32 dDemo_camera_c::JSGGetProjectionFovy ( ) const
virtual

Reimplemented from JStage::TCamera.

◆ JSGGetProjectionNear()

f32 dDemo_camera_c::JSGGetProjectionNear ( ) const
virtual

Reimplemented from JStage::TCamera.

◆ JSGGetViewPosition()

void dDemo_camera_c::JSGGetViewPosition ( Vec o_position) const
virtual

Reimplemented from JStage::TCamera.

◆ JSGGetViewRoll()

f32 dDemo_camera_c::JSGGetViewRoll ( ) const
virtual

Reimplemented from JStage::TCamera.

◆ JSGGetViewTargetPosition()

void dDemo_camera_c::JSGGetViewTargetPosition ( Vec o_targetPos) const
virtual

Reimplemented from JStage::TCamera.

◆ JSGGetViewUpVector()

void dDemo_camera_c::JSGGetViewUpVector ( Vec o_upVec) const
virtual

Reimplemented from JStage::TCamera.

◆ JSGSetProjectionAspect()

void dDemo_camera_c::JSGSetProjectionAspect ( f32  i_aspect)
virtual

Reimplemented from JStage::TCamera.

◆ JSGSetProjectionFar()

void dDemo_camera_c::JSGSetProjectionFar ( f32  i_projFar)
virtual

Reimplemented from JStage::TCamera.

◆ JSGSetProjectionFovy()

void dDemo_camera_c::JSGSetProjectionFovy ( f32  i_projFovy)
virtual

Reimplemented from JStage::TCamera.

◆ JSGSetProjectionNear()

void dDemo_camera_c::JSGSetProjectionNear ( f32  i_projNear)
virtual

Reimplemented from JStage::TCamera.

◆ JSGSetViewPosition()

void dDemo_camera_c::JSGSetViewPosition ( Vec const i_position)
virtual

Reimplemented from JStage::TCamera.

◆ JSGSetViewRoll()

void dDemo_camera_c::JSGSetViewRoll ( f32  i_roll)
virtual

Reimplemented from JStage::TCamera.

◆ JSGSetViewTargetPosition()

void dDemo_camera_c::JSGSetViewTargetPosition ( Vec const i_targetPos)
virtual

Reimplemented from JStage::TCamera.

◆ JSGSetViewUpVector()

void dDemo_camera_c::JSGSetViewUpVector ( Vec const i_upVec)
virtual

Reimplemented from JStage::TCamera.

◆ onEnable()

void dDemo_camera_c::onEnable ( u8  flag)
inline

Member Data Documentation

◆ mFlags

u8 dDemo_camera_c::mFlags
private

◆ mProjAspect

f32 dDemo_camera_c::mProjAspect
private

◆ mProjFar

f32 dDemo_camera_c::mProjFar
private

◆ mProjFovy

f32 dDemo_camera_c::mProjFovy
private

◆ mProjNear

f32 dDemo_camera_c::mProjNear
private

◆ mViewPos

cXyz dDemo_camera_c::mViewPos
private

◆ mViewRoll

f32 dDemo_camera_c::mViewRoll
private

◆ mViewTargetVector

cXyz dDemo_camera_c::mViewTargetVector
private

◆ mViewUpVector

cXyz dDemo_camera_c::mViewUpVector
private

The documentation for this class was generated from the following files: