Remove unused code

This commit is contained in:
Magnus Norddahl 2019-11-09 00:07:33 +01:00
parent 0747514f58
commit 7fae5ea905
2 changed files with 0 additions and 16 deletions

View File

@ -230,22 +230,7 @@ namespace swrenderer
VStep[i] = texcoords.VStep[i];
}
double istart = VStep[x1] * yscale;
double iend = VStep[x2 - 1] * yscale;
istart = 1 / istart;
iend = 1 / iend;
this->yscale = (float)yscale;
iscale = (float)istart;
if (x2 - x1 > 1)
{
iscalestep = float((iend - istart) / (x2 - x1 - 1));
}
else
{
iscalestep = 0;
}
}
/////////////////////////////////////////////////////////////////////////

View File

@ -67,7 +67,6 @@ namespace swrenderer
void Set(RenderThread *thread, const ProjectedWallTexcoords& texcoords, int x1, int x2, fixed_t xoffset, double yscale);
float yscale;
float iscale, iscalestep;
explicit operator bool() const { return UPos; }