Home | History | Annotate | Download | only in curvedmotion

Lines Matching refs:endValue

23  * on the operation specified by the endValue (the operation for the interval between
28 public PathPoint evaluate(float t, PathPoint startValue, PathPoint endValue) {
30 if (endValue.mOperation == PathPoint.CURVE) {
33 3 * oneMinusT * oneMinusT * t * endValue.mControl0X +
34 3 * oneMinusT * t * t * endValue.mControl1X +
35 t * t * t * endValue.mX;
37 3 * oneMinusT * oneMinusT * t * endValue.mControl0Y +
38 3 * oneMinusT * t * t * endValue.mControl1Y +
39 t * t * t * endValue.mY;
40 } else if (endValue.mOperation == PathPoint.LINE) {
41 x = startValue.mX + t * (endValue.mX - startValue.mX);
42 y = startValue.mY + t * (endValue.mY - startValue.mY);
44 x = endValue.mX;
45 y = endValue.mY;