mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 08:19:01 +00:00
little fix for cam
This commit is contained in:
parent
198b80f560
commit
ad90a06a39
1 changed files with 2 additions and 0 deletions
|
@ -4539,6 +4539,8 @@ CCam::Process_FollowPed_Rotation(const CVector &CameraTarget, float TargetOrient
|
||||||
Rotating = false;
|
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));
|
Front = CVector(Cos(Alpha) * Cos(Beta), Cos(Alpha) * Sin(Beta), Sin(Alpha));
|
||||||
Source = TargetCoors - Front*CamDist;
|
Source = TargetCoors - Front*CamDist;
|
||||||
|
|
Loading…
Reference in a new issue