mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Patch from Nuke.YKT to fix a y-flipped voxel rendering issue in Polymost
git-svn-id: https://svn.eduke32.com/eduke32@8727 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a7e1d3f307
commit
4bdffa4f0f
1 changed files with 1 additions and 1 deletions
|
@ -1051,7 +1051,7 @@ int32_t polymost_voxdraw(voxmodel_t *m, tspriteptr_t const tspr)
|
|||
zoff += m->piv.z;
|
||||
zoff -= m->siz.z*.5f;
|
||||
}
|
||||
if ((globalorientation&8) && (sprite[tspr->owner].cstat&48)!=0) zoff = m->siz.z-zoff;
|
||||
if (globalorientation&8) zoff = m->siz.z-zoff;
|
||||
|
||||
f = (65536.f*512.f) / ((float)xdimen*viewingrange);
|
||||
g = 32.f / ((float)xdimen*gxyaspect);
|
||||
|
|
Loading…
Reference in a new issue