mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-24 20:51:35 +00:00
[renderer] Update particle scale
It seems I forgot this and didn't notice until now. The glsl renderer's particles (style 1) look a lot better now.
This commit is contained in:
parent
4554ea47b0
commit
a905dcd4f9
1 changed files with 1 additions and 0 deletions
|
@ -135,6 +135,7 @@ R_RunParticles (float dT)
|
|||
p->pos += dT * p->vel;
|
||||
p->vel += dT * (p->vel * parm->drag + gravity * parm->drag[3]);
|
||||
p->ramp += dT * parm->ramp;
|
||||
p->scale += dT * parm->scale_rate;
|
||||
p->live -= dT;
|
||||
if (ramp) {
|
||||
p->icolor = ramp[(int)p->ramp];
|
||||
|
|
Loading…
Reference in a new issue