diff options
author | aap <aap@papnet.eu> | 2020-01-31 12:57:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-31 12:57:43 +0100 |
commit | 5794732ad4582dfb583f9554c66201ab982ba22b (patch) | |
tree | ffea6b8d1383a57081898cc369d24bfae591d9dc /src/peds/PedIK.h | |
parent | Merge pull request #298 from Sergeanur/save (diff) | |
parent | suggested fixes (diff) | |
download | re3-5794732ad4582dfb583f9554c66201ab982ba22b.tar re3-5794732ad4582dfb583f9554c66201ab982ba22b.tar.gz re3-5794732ad4582dfb583f9554c66201ab982ba22b.tar.bz2 re3-5794732ad4582dfb583f9554c66201ab982ba22b.tar.lz re3-5794732ad4582dfb583f9554c66201ab982ba22b.tar.xz re3-5794732ad4582dfb583f9554c66201ab982ba22b.tar.zst re3-5794732ad4582dfb583f9554c66201ab982ba22b.zip |
Diffstat (limited to 'src/peds/PedIK.h')
-rw-r--r-- | src/peds/PedIK.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/peds/PedIK.h b/src/peds/PedIK.h index be063003..c23a5fcc 100644 --- a/src/peds/PedIK.h +++ b/src/peds/PedIK.h @@ -50,13 +50,14 @@ public: CPedIK(CPed *ped); bool PointGunInDirection(float phi, float theta); - bool PointGunAtPosition(CVector *position); + bool PointGunInDirectionUsingArm(float phi, float theta); + bool PointGunAtPosition(CVector const& 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*); - LimbMoveStatus MoveLimb(LimbOrientation &a1, float a2, float a3, LimbMovementInfo &a4); + void ExtractYawAndPitchLocal(RwMatrixTag *mat, float *yaw, float *pitch); + void ExtractYawAndPitchWorld(RwMatrixTag *mat, float *yaw, float *pitch); + LimbMoveStatus MoveLimb(LimbOrientation &limb, float approxPhi, float approxTheta, LimbMovementInfo &moveInfo); bool RestoreGunPosn(void); bool LookInDirection(float phi, float theta); bool LookAtPosition(CVector const& pos); |