mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 22:01:50 +00:00
spiral distance per rotation
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@939 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
87287f9d12
commit
2df7e01d6b
1 changed files with 1 additions and 1 deletions
|
@ -2164,7 +2164,7 @@ int P_ParticleTrail (vec3_t startpos, vec3_t end, int type, trailstate_t *ts)
|
|||
|
||||
// precalculate degree of rotation
|
||||
if (ptype->spawnparam1)
|
||||
tdegree = ptype->spawnparam1*M_PI/180; /* degrees per quake unit */
|
||||
tdegree = 2*M_PI/ptype->spawnparam1; /* distance per rotation inversed */
|
||||
}
|
||||
|
||||
if (ts)
|
||||
|
|
Loading…
Reference in a new issue