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

/haiku/src/add-ons/screen_savers/gravity/
H A DGravitySource.h22 float vx; member in struct:GravitySource
H A DGravitySource.cpp31 vx = 0.0f;
50 vx += dx * 0.003f;
54 x += vx;
58 vx *= 0.98f;
76 p->vx += dx / d * 0.25f;
H A DParticle.h35 float vx; member in class:Particle
H A DParticle.cpp89 x += vx;
95 vx *= 0.98f;
127 p->vx = frand() - 0.5f;
/haiku/src/libs/agg/src/
H A Dagg_bezier_arc.cpp202 double vx = (-x1 - cx1) / rx; local
218 n = sqrt((ux*ux + uy*uy) * (vx*vx + vy*vy));
219 p = ux * vx + uy * vy;
220 sign = (ux * vy - uy * vx < 0) ? -1.0 : 1.0;
/haiku/src/apps/icon-o-matic/import_export/svg/
H A Dnanosvg.h2054 static float nsvg__vecrat(float ux, float uy, float vx, float vy) argument
2056 return (ux*vx + uy*vy) / (nsvg__vmag(ux,uy) * nsvg__vmag(vx,vy));
2059 static float nsvg__vecang(float ux, float uy, float vx, float vy) argument
2061 float r = nsvg__vecrat(ux,uy, vx,vy);
2064 return ((ux*vy < uy*vx) ? -1.0f : 1.0f) * acosf(r);
2073 float ux, uy, vx, vy, a1, da; local
2139 vx = (-x1p - cxp) / rx;
2142 da = nsvg__vecang(ux,uy, vx,vy); // Delta angle
2144 // if (vecrat(ux,uy,vx,v
[all...]
/haiku/src/tests/kits/interface/picture/
H A DSVGViewView.cpp445 double CalcVectorAngle(double ux, double uy, double vx, double vy) { argument
447 double tb = atan2(vy, vx);

Completed in 52 milliseconds