- remove TriVertex::NumVaryings as this did not help on readability at all
This commit is contained in:
parent
5adf7463cd
commit
d15def7d41
12 changed files with 155 additions and 176 deletions
|
|
@ -66,8 +66,8 @@ void RenderPolyParticle::Render(const TriMatrix &worldToClip, const PolyClipPlan
|
|||
vertices[i].y = (float)p.Y;
|
||||
vertices[i].z = (float)(zpos + psize * (2.0 * offsets[i].second - 1.0));
|
||||
vertices[i].w = 1.0f;
|
||||
vertices[i].varying[0] = (float)(offsets[i].first);
|
||||
vertices[i].varying[1] = (float)(1.0f - offsets[i].second);
|
||||
vertices[i].u = (float)(offsets[i].first);
|
||||
vertices[i].v = (float)(1.0f - offsets[i].second);
|
||||
}
|
||||
|
||||
bool fullbrightSprite = particle->bright != 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue