mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-26 17:00:56 +00:00
Polymost: Fix ART offset and face sprite flipping interaction.
git-svn-id: https://svn.eduke32.com/eduke32@3634 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
0abef3b8cd
commit
5b6b3c97e3
1 changed files with 3 additions and 0 deletions
|
@ -5032,6 +5032,9 @@ void polymost_drawsprite(int32_t snum)
|
|||
{
|
||||
case 0: //Face sprite
|
||||
//Project 3D to 2D
|
||||
if (globalorientation&4) xoff = -xoff;
|
||||
if (globalorientation&8) yoff = -yoff;
|
||||
|
||||
sx0 = (float)(tspr->x-globalposx);
|
||||
sy0 = (float)(tspr->y-globalposy);
|
||||
xp0 = sy0*gcosang - sx0*gsinang;
|
||||
|
|
Loading…
Reference in a new issue