Searched refs:xvel (Results 1 - 1 of 1) sorted by relevance

/solaris-x11-s11/open-src/app/xlock/sun-src/
H A Dpyro.c113 float xvel, yvel; member in struct:__anon106
255 float xvel, yvel, x; local
258 xvel = FLOATRAND(-pp->maxvelx, pp->maxvelx);
260 if (x < pp->lmargin && xvel < 0.0 || x > pp->rmargin && xvel > 0.0)
261 xvel = -xvel;
292 rp->xvel = xvel;
351 rp->x += rp->xvel;
[all...]

Completed in 15 milliseconds