diff options
author | aap <aap@papnet.eu> | 2020-05-11 09:18:21 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-11 09:18:21 +0200 |
commit | ad90a06a395d6c93d4565705ee70c64a6cc820b8 (patch) | |
tree | e3cec5943fbf24a18d5ebddc31f2aba069b33e8e /src/core/Cam.cpp | |
parent | RpAnimBlend and frame updates (diff) | |
download | re3-ad90a06a395d6c93d4565705ee70c64a6cc820b8.tar re3-ad90a06a395d6c93d4565705ee70c64a6cc820b8.tar.gz re3-ad90a06a395d6c93d4565705ee70c64a6cc820b8.tar.bz2 re3-ad90a06a395d6c93d4565705ee70c64a6cc820b8.tar.lz re3-ad90a06a395d6c93d4565705ee70c64a6cc820b8.tar.xz re3-ad90a06a395d6c93d4565705ee70c64a6cc820b8.tar.zst re3-ad90a06a395d6c93d4565705ee70c64a6cc820b8.zip |
Diffstat (limited to 'src/core/Cam.cpp')
-rw-r--r-- | src/core/Cam.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/Cam.cpp b/src/core/Cam.cpp index a8787675..e6a10267 100644 --- a/src/core/Cam.cpp +++ b/src/core/Cam.cpp @@ -4539,6 +4539,8 @@ CCam::Process_FollowPed_Rotation(const CVector &CameraTarget, float TargetOrient Rotating = false; } + if(TheCamera.m_bUseTransitionBeta) + Beta = CGeneral::GetATanOfXY(-Cos(m_fTransitionBeta), -Sin(m_fTransitionBeta)); Front = CVector(Cos(Alpha) * Cos(Beta), Cos(Alpha) * Sin(Beta), Sin(Alpha)); Source = TargetCoors - Front*CamDist; |