mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 17:01:22 +00:00
[particles] Use read data instead of written data
I'm not sure this makes any difference (at 2500fps, the noise is crazy), but fewer instructions can't hurt.
This commit is contained in:
parent
a9cc51b22c
commit
1fef0e50e0
1 changed files with 0 additions and 2 deletions
|
@ -106,8 +106,6 @@ R_RunParticles (float dT)
|
||||||
ps->partparams[j] = *parm;
|
ps->partparams[j] = *parm;
|
||||||
ps->partramps[j] = ramp;
|
ps->partramps[j] = ramp;
|
||||||
}
|
}
|
||||||
p = &ps->particles[j];
|
|
||||||
parm = &ps->partparams[j];
|
|
||||||
j += 1;
|
j += 1;
|
||||||
|
|
||||||
p->pos += dT * p->vel;
|
p->pos += dT * p->vel;
|
||||||
|
|
Loading…
Reference in a new issue