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

/haiku/src/add-ons/screen_savers/gravity/
H A DGravitySource.h23 float vy; member in struct:GravitySource
H A DGravitySource.cpp32 vy = 0.0f;
51 vy += dy * 0.003f;
55 y += vy;
59 vy *= 0.98f;
77 p->vy += dy / d * 0.25f;
H A DParticle.h36 float vy; member in class:Particle
H A DParticle.cpp90 y += vy;
96 vy *= 0.98f;
128 p->vy = frand() - 0.5f;
/haiku/src/libs/agg/src/
H A Dagg_bezier_arc.cpp203 double vy = (-y1 - cy1) / ry; 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
2140 vy = (-y1p - cyp) / ry;
2142 da = nsvg__vecang(ux,uy, vx,vy); // Delta angle
2144 // if (vecrat(ux,uy,vx,vy) <
[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 65 milliseconds