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

Public Member Functions

void setRootBoneLength (f32)
 
void setMiddleBoneLength (f32)
 
void setFirstPose (const TVec3f &, const TVec3f &)
 
s32 checkReachIKTarget (f32, f32, f32)
 
f32 calcIKRootAngleCosign (f32, f32, f32)
 
void update (MtxPtr, MtxPtr, MtxPtr, const TVec3f &)
 

Public Attributes

TPos3f _0
 
TPos3f _30
 
TPos3f _60
 
f32 mRootBoneLength
 
f32 mMiddleBoneLength
 

Detailed Description

Definition at line 5 of file IKJoint.hpp.

Constructor & Destructor Documentation

◆ IKJoint()

IKJoint::IKJoint ( )

Definition at line 4 of file IKJoint.cpp.

Member Function Documentation

◆ setRootBoneLength()

void IKJoint::setRootBoneLength ( f32 boneLength)

Definition at line 10 of file IKJoint.cpp.

◆ setMiddleBoneLength()

void IKJoint::setMiddleBoneLength ( f32 boneLength)

Definition at line 14 of file IKJoint.cpp.

◆ setFirstPose()

void IKJoint::setFirstPose ( const TVec3f & a1,
const TVec3f & a2 )

Definition at line 18 of file IKJoint.cpp.

◆ checkReachIKTarget()

s32 IKJoint::checkReachIKTarget ( f32 a1,
f32 a2,
f32 a3 )

Definition at line 22 of file IKJoint.cpp.

Member Data Documentation

◆ _0

TPos3f IKJoint::_0

Definition at line 17 of file IKJoint.hpp.

◆ _30

TPos3f IKJoint::_30

Definition at line 18 of file IKJoint.hpp.

◆ _60

TPos3f IKJoint::_60

Definition at line 19 of file IKJoint.hpp.

◆ mRootBoneLength

f32 IKJoint::mRootBoneLength

Definition at line 20 of file IKJoint.hpp.

◆ mMiddleBoneLength

f32 IKJoint::mMiddleBoneLength

Definition at line 21 of file IKJoint.hpp.