mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-08 17:13:15 +00:00
also do the fovtan multiplication thing with precip sprites
This commit is contained in:
parent
8ad59bbb51
commit
58d62f9881
1 changed files with 1 additions and 1 deletions
|
|
@ -1884,7 +1884,7 @@ static void R_ProjectPrecipitationSprite(precipmobj_t *thing)
|
||||||
tx = FixedMul(tr_x, viewsin) - FixedMul(tr_y, viewcos); // sideways distance
|
tx = FixedMul(tr_x, viewsin) - FixedMul(tr_y, viewcos); // sideways distance
|
||||||
|
|
||||||
// too far off the side?
|
// too far off the side?
|
||||||
if (abs(tx) > tz<<2)
|
if (abs(tx) > FixedMul(tz, fovtan)<<2)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// aspect ratio stuff :
|
// aspect ratio stuff :
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue