mirror of
https://github.com/halpz/re3.git
synced 2025-05-10 08:46:37 +03:00
few fixes
This commit is contained in:
parent
c66c45f4c8
commit
b11715608f
5 changed files with 53 additions and 11 deletions
|
@ -4540,6 +4540,9 @@ CCam::Process_FollowPed_Rotation(const CVector &CameraTarget, float TargetOrient
|
|||
}
|
||||
|
||||
|
||||
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;
|
||||
TargetCoors.z -= BaseOffset; // now get back to the real target coors again
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue