Remove accidental leftovers

Accidentally left a comment and stuff in there from previous attempts
This commit is contained in:
Sryder 2016-12-13 21:22:40 +00:00
parent 4fb2a18846
commit 2e72539df2

View file

@ -4273,26 +4273,6 @@ static void HWR_DrawSprite(gr_vissprite_t *spr)
// transform
wv = wallVerts;
/*if (spr->mobj->frame & FF_PAPERSPRITE)
{
float mobjanglecos, mobjanglesin;
mobjanglesin = FIXED_TO_FLOAT(FINESINE((spr->mobj->angle-dup_viewangle+ANGLE_90)>>ANGLETOFINESHIFT));
mobjanglecos = FIXED_TO_FLOAT(FINECOSINE((spr->mobj->angle-dup_viewangle+ANGLE_90)>>ANGLETOFINESHIFT));
for (i = 0; i < 4; i++,wv++)
{
// x = (x * anglecos) + (z * anglesin)
// z = (x * anglesin) - (z * anglecos)
// instead of doing the z part we just add spr->tz afterwards because they are all the same
// value right now
tr_x = wv->x-spr->x2+(spr->x2-spr->x1)/2;
//wv->x = (tr_x * mobjanglecos) + (0) + (spr->x1+(spr->x2-spr->x1)/2);
wv->z = (tr_x * mobjanglesin) - (0) + (spr->tz);
}
}*/
// transform
wv = wallVerts;
for (i = 0; i < 4; i++,wv++)
{
//look up/down ----TOTAL SUCKS!!!--- do the 2 in one!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@ -5197,9 +5177,6 @@ static void HWR_ProjectSprite(mobj_t *thing)
x2 = gr_windowcenterx + (tx * gr_centerx / tz);
if (thing->eflags & MFE_VERTICALFLIP)
{
gz = FIXED_TO_FLOAT(thing->z+thing->height) - FIXED_TO_FLOAT(spritecachedinfo[lumpoff].topoffset) * this_scale;