mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-06 02:14:08 +00:00
Merge branch 'master' into miami
# Conflicts: # src/render/Credits.cpp
This commit is contained in:
commit
30384bb4ef
3 changed files with 79 additions and 78 deletions
|
@ -29,11 +29,7 @@ CSprite::CalcScreenCoors(const RwV3d &in, RwV3d *out, float *outw, float *outh,
|
|||
float recip = 1.0f/out->z;
|
||||
out->x *= SCREEN_WIDTH * recip;
|
||||
out->y *= SCREEN_HEIGHT * recip;
|
||||
#ifdef ASPECT_RATIO_SCALE
|
||||
float fov = CDraw::ConvertFOV(DefaultFOV);
|
||||
#else
|
||||
const float fov = DefaultFOV;
|
||||
#endif
|
||||
// this is used to scale correctly if you zoom in with sniper rifle
|
||||
float fovScale = fov / CDraw::GetFOV();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue