mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Tweak the amount that distance is factored in when mitigating depth fighting in Polymost.
git-svn-id: https://svn.eduke32.com/eduke32@5398 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
87c8e86d44
commit
b166a13d50
1 changed files with 1 additions and 1 deletions
|
@ -3984,7 +3984,7 @@ int32_t polymost_lintersect(int32_t x1, int32_t y1, int32_t x2, int32_t y2,
|
|||
}
|
||||
|
||||
#define TSPR_OFFSET(tspr) \
|
||||
(((FindDistance2D((tspr->x - globalposx), (tspr->y - globalposy)) >> 4) * .0001f) + \
|
||||
(((FindDistance2D((tspr->x - globalposx), (tspr->y - globalposy)) >> 3) * .0001f) + \
|
||||
((tspr->owner != -1 ? tspr->owner & 63 : 0) * .0001f))
|
||||
|
||||
void polymost_drawsprite(int32_t snum)
|
||||
|
|
Loading…
Reference in a new issue