Searched refs:timeSinceStart (Results 1 – 1 of 1) sorted by relevance
21 public static float lerp(float start, float target, float duration, float timeSinceStart) in lerp() argument24 if (timeSinceStart > 0.0f && timeSinceStart < duration) in lerp()27 final float percent = timeSinceStart / duration; in lerp()30 else if (timeSinceStart >= duration) in lerp()37 public static float ease(float start, float target, float duration, float timeSinceStart) in ease() argument40 if (timeSinceStart > 0.0f && timeSinceStart < duration) in ease()43 final float percent = timeSinceStart / (duration / 2.0f); in ease()55 else if (timeSinceStart >= duration) in ease()