mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
Remove unused code
This commit is contained in:
parent
0747514f58
commit
7fae5ea905
2 changed files with 0 additions and 16 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue