SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
IKJointCtrl Class Reference

Public Member Functions

 IKJointCtrl (LiveActor *)
 
void init (const IKJointCtrlParam &)
 
void setEndPosition (const TVec3f &, f32)
 
void setEndDirection (const TVec3f &, f32)
 
void endCtrl ()
 
void setCallBackFunction ()
 
bool updateRootJointCallBack (TPos3f *, const JointControllerInfo &)
 
bool updateMiddleJointCallBack (TPos3f *, const JointControllerInfo &)
 
void disableCallBack ()
 
void enableCallBack ()
 

Public Attributes

const char * mName
 
TMtx34f _4
 
TMtx34f _34
 
LiveActormActor
 
IKJointmJoint
 
JointControlDelegator< IKJointCtrl > * mRootCtrl
 
JointControlDelegator< IKJointCtrl > * mMiddleCtrl
 
JointControlDelegator< IKJointCtrl > * mEndCtrl
 
TVec3f _78
 
TVec3f mEndLocalDir
 
f32 _90
 
f32 _94
 
f32 _98
 
f32 mNearLimitRate
 
f32 mFarLimitRate
 
f32 mEndDirMaxDegree
 
f32 _A8
 
f32 _AC
 
u16 _B0
 
u16 _B2
 
u16 _B4
 
u8 _B6
 

Detailed Description

Definition at line 20 of file IKJointCtrl.hpp.

Member Function Documentation

◆ setEndPosition()

void IKJointCtrl::setEndPosition ( const TVec3f & rPos,
f32 a2 )

Definition at line 7 of file IKJointCtrl.cpp.

◆ setEndDirection()

void IKJointCtrl::setEndDirection ( const TVec3f & rDirection,
f32 a2 )

Definition at line 15 of file IKJointCtrl.cpp.

◆ endCtrl()

void IKJointCtrl::endCtrl ( )

Definition at line 25 of file IKJointCtrl.cpp.

◆ setCallBackFunction()

void IKJointCtrl::setCallBackFunction ( )

Definition at line 30 of file IKJointCtrl.cpp.

◆ updateRootJointCallBack()

bool IKJointCtrl::updateRootJointCallBack ( TPos3f * pPos,
const JointControllerInfo & rInfo )

Definition at line 45 of file IKJointCtrl.cpp.

◆ updateMiddleJointCallBack()

bool IKJointCtrl::updateMiddleJointCallBack ( TPos3f * pPos,
const JointControllerInfo & rInfo )

Definition at line 50 of file IKJointCtrl.cpp.

◆ disableCallBack()

void IKJointCtrl::disableCallBack ( )

Definition at line 102 of file IKJointCtrl.cpp.

◆ enableCallBack()

void IKJointCtrl::enableCallBack ( )

Definition at line 106 of file IKJointCtrl.cpp.

Member Data Documentation

◆ mName

const char* IKJointCtrl::mName

Definition at line 35 of file IKJointCtrl.hpp.

◆ _4

TMtx34f IKJointCtrl::_4

Definition at line 36 of file IKJointCtrl.hpp.

◆ _34

TMtx34f IKJointCtrl::_34

Definition at line 37 of file IKJointCtrl.hpp.

◆ mActor

LiveActor* IKJointCtrl::mActor

Definition at line 38 of file IKJointCtrl.hpp.

◆ mJoint

IKJoint* IKJointCtrl::mJoint

Definition at line 39 of file IKJointCtrl.hpp.

◆ mRootCtrl

JointControlDelegator<IKJointCtrl>* IKJointCtrl::mRootCtrl

Definition at line 40 of file IKJointCtrl.hpp.

◆ mMiddleCtrl

JointControlDelegator<IKJointCtrl>* IKJointCtrl::mMiddleCtrl

Definition at line 41 of file IKJointCtrl.hpp.

◆ mEndCtrl

JointControlDelegator<IKJointCtrl>* IKJointCtrl::mEndCtrl

Definition at line 42 of file IKJointCtrl.hpp.

◆ _78

TVec3f IKJointCtrl::_78

Definition at line 43 of file IKJointCtrl.hpp.

◆ mEndLocalDir

TVec3f IKJointCtrl::mEndLocalDir

Definition at line 44 of file IKJointCtrl.hpp.

◆ _90

f32 IKJointCtrl::_90

Definition at line 45 of file IKJointCtrl.hpp.

◆ _94

f32 IKJointCtrl::_94

Definition at line 46 of file IKJointCtrl.hpp.

◆ _98

f32 IKJointCtrl::_98

Definition at line 47 of file IKJointCtrl.hpp.

◆ mNearLimitRate

f32 IKJointCtrl::mNearLimitRate

Definition at line 48 of file IKJointCtrl.hpp.

◆ mFarLimitRate

f32 IKJointCtrl::mFarLimitRate

Definition at line 49 of file IKJointCtrl.hpp.

◆ mEndDirMaxDegree

f32 IKJointCtrl::mEndDirMaxDegree

Definition at line 50 of file IKJointCtrl.hpp.

◆ _A8

f32 IKJointCtrl::_A8

Definition at line 51 of file IKJointCtrl.hpp.

◆ _AC

f32 IKJointCtrl::_AC

Definition at line 52 of file IKJointCtrl.hpp.

◆ _B0

u16 IKJointCtrl::_B0

Definition at line 53 of file IKJointCtrl.hpp.

◆ _B2

u16 IKJointCtrl::_B2

Definition at line 54 of file IKJointCtrl.hpp.

◆ _B4

u16 IKJointCtrl::_B4

Definition at line 55 of file IKJointCtrl.hpp.

◆ _B6

u8 IKJointCtrl::_B6

Definition at line 56 of file IKJointCtrl.hpp.