SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
IKJoint.hpp
1#pragma once
2
3#include "JSystem/JGeometry.hpp"
4
5class IKJoint {
6public:
7 IKJoint();
8
9 void setRootBoneLength(f32);
10 void setMiddleBoneLength(f32);
11 void setFirstPose(const TVec3f &, const TVec3f &);
12 s32 checkReachIKTarget(f32, f32, f32);
13 f32 calcIKRootAngleCosign(f32, f32, f32);
14
15 void update(MtxPtr, MtxPtr, MtxPtr, const TVec3f &);
16
17 TPos3f _0;
18 TPos3f _30;
19 TPos3f _60;
20 f32 mRootBoneLength; // _90
21 f32 mMiddleBoneLength; // _94
22};