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:
TimeServ 2005-04-02 21:20:52 +00:00
parent 87287f9d12
commit 2df7e01d6b

View file

@ -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)