mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Voxel fix
git-svn-id: https://svn.eduke32.com/eduke32@7791 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
2313e3d374
commit
fe4245dfc3
1 changed files with 1 additions and 0 deletions
|
@ -1056,6 +1056,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;
|
||||
|
||||
f = (65536.f*512.f) / ((float)xdimen*viewingrange);
|
||||
g = 32.f / ((float)xdimen*gxyaspect);
|
||||
|
|
Loading…
Reference in a new issue