- remove TriVertex::NumVaryings as this did not help on readability at all

This commit is contained in:
Magnus Norddahl 2017-03-28 10:52:19 +02:00
commit d15def7d41
12 changed files with 155 additions and 176 deletions

View file

@ -410,8 +410,8 @@ TriVertex RenderPolyPlane::PlaneVertex(vertex_t *v1, double height, const UVTran
v.y = (float)v1->fPos().Y;
v.z = (float)height;
v.w = 1.0f;
v.varying[0] = transform.GetU(v.x, v.y);
v.varying[1] = transform.GetV(v.x, v.y);
v.u = transform.GetU(v.x, v.y);
v.v = transform.GetV(v.x, v.y);
return v;
}