From 62024217b78b3a20b93da0e3b2d5957c6c354bbf Mon Sep 17 00:00:00 2001 From: aap Date: Mon, 15 Jun 2020 20:50:01 +0200 Subject: more CCam --- src/peds/PedIK.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/peds') 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); -- cgit v1.2.3