Home
last modified time | relevance | path

Searched refs:pointsCnt (Results 1 – 3 of 3) sorted by relevance

/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/paths/
DCatmullRom.java10 public float compute(float t, float[] points, int pointsCnt) { in compute() argument
11 int segment = (int) Math.floor((pointsCnt-1) * t); in compute()
13 segment = Math.min(segment, pointsCnt-2); in compute()
15 t = t * (pointsCnt-1) - segment; in compute()
21 if (segment == pointsCnt-2) { in compute()
22 …return catmullRomSpline(points[pointsCnt-3], points[pointsCnt-2], points[pointsCnt-1], points[poin… in compute()
DLinear.java10 public float compute(float t, float[] points, int pointsCnt) { in compute() argument
11 int segment = (int) Math.floor((pointsCnt-1) * t); in compute()
13 segment = Math.min(segment, pointsCnt-2); in compute()
15 t = t * (pointsCnt-1) - segment; in compute()
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/
DTweenPath.java21 public float compute(float t, float[] points, int pointsCnt); in compute() argument