Voxel fix

git-svn-id: https://svn.eduke32.com/eduke32@7791 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-07-13 21:26:06 +00:00 committed by Christoph Oelckers
parent 2313e3d374
commit fe4245dfc3

View file

@ -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);