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

#include <J3DMtxBuffer.h>

+ Collaboration diagram for J3DMtxBuffer:

Public Member Functions

 J3DMtxBuffer ()
 
void initialize ()
 
s32 create (J3DModelData *, u32)
 
s32 createAnmMtx (J3DModelData *)
 
s32 createWeightEnvelopeMtx (J3DModelData *)
 
s32 setNoUseDrawMtx ()
 
s32 createDoubleDrawMtx (J3DModelData *, u32)
 
s32 createBumpMtxArray (J3DModelData *, u32)
 
void calcWeightEnvelopeMtx ()
 
void calcDrawMtx (u32, Vec const &, f32 const (&)[3][4])
 
void calcNrmMtx ()
 
void calcBBoardMtx ()
 
MtxP getAnmMtx (int idx) const
 
void setAnmMtx (int i, Mtx m)
 
MtxP getWeightAnmMtx (int idx) const
 
MtxP getUserAnmMtx (int idx) const
 
void setScaleFlag (int idx, u8 flag)
 
u32getCurrentViewNoPtr ()
 
u8getScaleFlagArray () const
 
u8 getScaleFlag (int idx) const
 
u8 getEnvScaleFlag (int idx) const
 
Mtx ** getDrawMtxPtrPtr () const
 
MtxgetDrawMtxPtr () const
 
MtxgetDrawMtx (int idx) const
 
Mtx33 ** getNrmMtxPtrPtr () const
 
Mtx33getNrmMtxPtr () const
 
Mtx33getNrmMtx (u16 idx) const
 
Mtx33 *** getBumpMtxPtrPtr () const
 
Mtx33getBumpMtxPtr (int idx) const
 
J3DJointTreegetJointTree () const
 
void setNrmMtx (int idx, Mtx *mtx)
 
void swapDrawMtx ()
 
void swapNrmMtx ()
 
virtual ~J3DMtxBuffer ()
 

Static Public Attributes

static Mtx sNoUseDrawMtx
 
static Mtx33 sNoUseNrmMtx
 
static MtxsNoUseDrawMtxPtr = &J3DMtxBuffer::sNoUseDrawMtx
 
static Mtx33sNoUseNrmMtxPtr = &J3DMtxBuffer::sNoUseNrmMtx
 

Private Attributes

J3DJointTreemJointTree
 
u8mpScaleFlagArr
 
u8mpEvlpScaleFlagArr
 
MtxmpAnmMtx
 
MtxmpWeightEvlpMtx
 
Mtx ** mpDrawMtxArr [2]
 
Mtx33 ** mpNrmMtxArr [2]
 
Mtx33 *** mpBumpMtxArr [2]
 
u32 mFlags
 
u32 mCurrentViewNo
 
MtxmpUserAnmMtx
 

Constructor & Destructor Documentation

◆ J3DMtxBuffer()

J3DMtxBuffer::J3DMtxBuffer ( )
inline

◆ ~J3DMtxBuffer()

virtual J3DMtxBuffer::~J3DMtxBuffer ( )
inlinevirtual

Member Function Documentation

◆ calcBBoardMtx()

void J3DMtxBuffer::calcBBoardMtx ( )

◆ calcDrawMtx()

void J3DMtxBuffer::calcDrawMtx ( u32  ,
Vec const ,
f32   const(&)[3][4] 
)

◆ calcNrmMtx()

void J3DMtxBuffer::calcNrmMtx ( )

◆ calcWeightEnvelopeMtx()

void J3DMtxBuffer::calcWeightEnvelopeMtx ( )

◆ create()

s32 J3DMtxBuffer::create ( J3DModelData p_modelData,
u32  flag 
)

◆ createAnmMtx()

s32 J3DMtxBuffer::createAnmMtx ( J3DModelData p_modelData)

◆ createBumpMtxArray()

s32 J3DMtxBuffer::createBumpMtxArray ( J3DModelData i_modelData,
u32  param_1 
)

◆ createDoubleDrawMtx()

s32 J3DMtxBuffer::createDoubleDrawMtx ( J3DModelData p_modelData,
u32  num 
)

◆ createWeightEnvelopeMtx()

s32 J3DMtxBuffer::createWeightEnvelopeMtx ( J3DModelData p_modelData)

◆ getAnmMtx()

MtxP J3DMtxBuffer::getAnmMtx ( int  idx) const
inline

◆ getBumpMtxPtr()

Mtx33 * J3DMtxBuffer::getBumpMtxPtr ( int  idx) const
inline

◆ getBumpMtxPtrPtr()

Mtx33 *** J3DMtxBuffer::getBumpMtxPtrPtr ( ) const
inline

◆ getCurrentViewNoPtr()

u32 * J3DMtxBuffer::getCurrentViewNoPtr ( )
inline

◆ getDrawMtx()

Mtx * J3DMtxBuffer::getDrawMtx ( int  idx) const
inline

◆ getDrawMtxPtr()

Mtx * J3DMtxBuffer::getDrawMtxPtr ( ) const
inline

◆ getDrawMtxPtrPtr()

Mtx ** J3DMtxBuffer::getDrawMtxPtrPtr ( ) const
inline

◆ getEnvScaleFlag()

u8 J3DMtxBuffer::getEnvScaleFlag ( int  idx) const
inline

◆ getJointTree()

J3DJointTree * J3DMtxBuffer::getJointTree ( ) const
inline

◆ getNrmMtx()

Mtx33 * J3DMtxBuffer::getNrmMtx ( u16  idx) const
inline

◆ getNrmMtxPtr()

Mtx33 * J3DMtxBuffer::getNrmMtxPtr ( ) const
inline

◆ getNrmMtxPtrPtr()

Mtx33 ** J3DMtxBuffer::getNrmMtxPtrPtr ( ) const
inline

◆ getScaleFlag()

u8 J3DMtxBuffer::getScaleFlag ( int  idx) const
inline

◆ getScaleFlagArray()

u8 * J3DMtxBuffer::getScaleFlagArray ( ) const
inline

◆ getUserAnmMtx()

MtxP J3DMtxBuffer::getUserAnmMtx ( int  idx) const
inline

◆ getWeightAnmMtx()

MtxP J3DMtxBuffer::getWeightAnmMtx ( int  idx) const
inline

◆ initialize()

void J3DMtxBuffer::initialize ( )

◆ setAnmMtx()

void J3DMtxBuffer::setAnmMtx ( int  i,
Mtx  m 
)
inline

◆ setNoUseDrawMtx()

s32 J3DMtxBuffer::setNoUseDrawMtx ( )

◆ setNrmMtx()

void J3DMtxBuffer::setNrmMtx ( int  idx,
Mtx mtx 
)
inline

◆ setScaleFlag()

void J3DMtxBuffer::setScaleFlag ( int  idx,
u8  flag 
)
inline

◆ swapDrawMtx()

void J3DMtxBuffer::swapDrawMtx ( )
inline

◆ swapNrmMtx()

void J3DMtxBuffer::swapNrmMtx ( )
inline

Member Data Documentation

◆ mCurrentViewNo

u32 J3DMtxBuffer::mCurrentViewNo
private

◆ mFlags

u32 J3DMtxBuffer::mFlags
private

◆ mJointTree

J3DJointTree* J3DMtxBuffer::mJointTree
private

◆ mpAnmMtx

Mtx* J3DMtxBuffer::mpAnmMtx
private

◆ mpBumpMtxArr

Mtx33*** J3DMtxBuffer::mpBumpMtxArr[2]
private

◆ mpDrawMtxArr

Mtx** J3DMtxBuffer::mpDrawMtxArr[2]
private

◆ mpEvlpScaleFlagArr

u8* J3DMtxBuffer::mpEvlpScaleFlagArr
private

◆ mpNrmMtxArr

Mtx33** J3DMtxBuffer::mpNrmMtxArr[2]
private

◆ mpScaleFlagArr

u8* J3DMtxBuffer::mpScaleFlagArr
private

◆ mpUserAnmMtx

Mtx* J3DMtxBuffer::mpUserAnmMtx
private

◆ mpWeightEvlpMtx

Mtx* J3DMtxBuffer::mpWeightEvlpMtx
private

◆ sNoUseDrawMtx

Mtx J3DMtxBuffer::sNoUseDrawMtx
static

◆ sNoUseDrawMtxPtr

Mtx * J3DMtxBuffer::sNoUseDrawMtxPtr = &J3DMtxBuffer::sNoUseDrawMtx
static

◆ sNoUseNrmMtx

Mtx33 J3DMtxBuffer::sNoUseNrmMtx
static

◆ sNoUseNrmMtxPtr

Mtx33 * J3DMtxBuffer::sNoUseNrmMtxPtr = &J3DMtxBuffer::sNoUseNrmMtx
static

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