summaryrefslogtreecommitdiffstats
path: root/src/peds/PedIK.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-15 20:50:01 +0200
committeraap <aap@papnet.eu>2020-06-15 20:50:01 +0200
commit62024217b78b3a20b93da0e3b2d5957c6c354bbf (patch)
treefa980f312efee318f6f887a455112747e2cbb6e9 /src/peds/PedIK.h
parentMerge remote-tracking branch 'origin/master' into miami (diff)
downloadre3-62024217b78b3a20b93da0e3b2d5957c6c354bbf.tar
re3-62024217b78b3a20b93da0e3b2d5957c6c354bbf.tar.gz
re3-62024217b78b3a20b93da0e3b2d5957c6c354bbf.tar.bz2
re3-62024217b78b3a20b93da0e3b2d5957c6c354bbf.tar.lz
re3-62024217b78b3a20b93da0e3b2d5957c6c354bbf.tar.xz
re3-62024217b78b3a20b93da0e3b2d5957c6c354bbf.tar.zst
re3-62024217b78b3a20b93da0e3b2d5957c6c354bbf.zip
Diffstat (limited to '')
-rw-r--r--src/peds/PedIK.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/peds/PedIK.h b/src/peds/PedIK.h
index ee719fea..7dcf0ef3 100644
--- a/src/peds/PedIK.h
+++ b/src/peds/PedIK.h
@@ -52,6 +52,7 @@ public:
bool PointGunInDirectionUsingArm(float targetYaw, float targetPitch);
bool PointGunAtPosition(CVector const& position);
void GetComponentPosition(RwV3d &pos, uint32 node);
+ void GetComponentPosition(CVector &pos, uint32 node) { GetComponentPosition(*(RwV3d*)pos, node); }
void RotateTorso(AnimBlendFrameData* animBlend, LimbOrientation* limb, bool changeRoll);
void ExtractYawAndPitchLocal(RwMatrix *mat, float *yaw, float *pitch);
void ExtractYawAndPitchLocalSkinned(AnimBlendFrameData *node, float *yaw, float *pitch);