summaryrefslogtreecommitdiffstats
path: root/src/entities/PedIK.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-07-03 18:34:42 +0200
committereray orçunus <erayorcunus@gmail.com>2019-07-04 03:59:29 +0200
commitd4ea6912f5deb303f1ce75acf6c680d00244ea66 (patch)
tree7fd3df91850584be723a8394b6acb7a75ecb7cd6 /src/entities/PedIK.h
parentMerge pull request #86 from erorcun/erorcun (diff)
downloadre3-d4ea6912f5deb303f1ce75acf6c680d00244ea66.tar
re3-d4ea6912f5deb303f1ce75acf6c680d00244ea66.tar.gz
re3-d4ea6912f5deb303f1ce75acf6c680d00244ea66.tar.bz2
re3-d4ea6912f5deb303f1ce75acf6c680d00244ea66.tar.lz
re3-d4ea6912f5deb303f1ce75acf6c680d00244ea66.tar.xz
re3-d4ea6912f5deb303f1ce75acf6c680d00244ea66.tar.zst
re3-d4ea6912f5deb303f1ce75acf6c680d00244ea66.zip
Diffstat (limited to 'src/entities/PedIK.h')
-rw-r--r--src/entities/PedIK.h4
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");