summaryrefslogtreecommitdiffstats
path: root/src/peds/PedIK.h
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-06-16 19:48:46 +0200
committerGitHub <noreply@github.com>2020-06-16 19:48:46 +0200
commit7ae0b8ef06fc6cc1410f29ebd130af736688ef6f (patch)
tree70f0be6bec28392cddb6bb583957ca3b09a30ef0 /src/peds/PedIK.h
parentMerge pull request #634 from erorcun/miami (diff)
parentCCam done (diff)
downloadre3-7ae0b8ef06fc6cc1410f29ebd130af736688ef6f.tar
re3-7ae0b8ef06fc6cc1410f29ebd130af736688ef6f.tar.gz
re3-7ae0b8ef06fc6cc1410f29ebd130af736688ef6f.tar.bz2
re3-7ae0b8ef06fc6cc1410f29ebd130af736688ef6f.tar.lz
re3-7ae0b8ef06fc6cc1410f29ebd130af736688ef6f.tar.xz
re3-7ae0b8ef06fc6cc1410f29ebd130af736688ef6f.tar.zst
re3-7ae0b8ef06fc6cc1410f29ebd130af736688ef6f.zip
Diffstat (limited to 'src/peds/PedIK.h')
-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);