diff options
author | aap <aap@papnet.eu> | 2019-07-04 09:15:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-04 09:15:30 +0200 |
commit | fc011d76b46ea5881d7b9c5e701044df917a58d1 (patch) | |
tree | 77949cc32155e844b34c75f856f79ff3f3ad9cec /src/entities/PedIK.h | |
parent | Merge pull request #107 from Nick007J/master (diff) | |
parent | Merge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff) | |
download | re3-fc011d76b46ea5881d7b9c5e701044df917a58d1.tar re3-fc011d76b46ea5881d7b9c5e701044df917a58d1.tar.gz re3-fc011d76b46ea5881d7b9c5e701044df917a58d1.tar.bz2 re3-fc011d76b46ea5881d7b9c5e701044df917a58d1.tar.lz re3-fc011d76b46ea5881d7b9c5e701044df917a58d1.tar.xz re3-fc011d76b46ea5881d7b9c5e701044df917a58d1.tar.zst re3-fc011d76b46ea5881d7b9c5e701044df917a58d1.zip |
Diffstat (limited to 'src/entities/PedIK.h')
-rw-r--r-- | src/entities/PedIK.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/entities/PedIK.h b/src/entities/PedIK.h index 7c798dc2..e17d52eb 100644 --- a/src/entities/PedIK.h +++ b/src/entities/PedIK.h @@ -1,6 +1,7 @@ #pragma once #include "common.h" #include "PedModelInfo.h" +#include "AnimBlendClumpData.h" struct LimbOrientation { @@ -32,5 +33,8 @@ public: bool PointGunAtPosition(CVector *position); void GetComponentPosition(RwV3d *pos, PedNode node); static RwMatrix *GetWorldMatrix(RwFrame *source, RwMatrix *destination); + void RotateTorso(AnimBlendFrameData* animBlend, LimbOrientation* limb, bool changeRoll); + void ExtractYawAndPitchLocal(RwMatrixTag*, float*, float*); + void ExtractYawAndPitchWorld(RwMatrixTag*, float*, float*); }; static_assert(sizeof(CPedIK) == 0x28, "CPedIK: error"); |