Searched refs:velocityCoef (Results 1 – 2 of 2) sorted by relevance
819 float velocityCoef = 0.f; in update() local825 velocityCoef = (d_sup - d_inf) / (t_sup - t_inf); in update()826 distanceCoef = d_inf + (t - t_inf) * velocityCoef; in update()830 mCurrVelocity = velocityCoef * mSplineDistance / mSplineDuration * 1000.0f; in update()
918 float velocityCoef = 0.f; in update() local924 velocityCoef = (d_sup - d_inf) / (t_sup - t_inf); in update()925 distanceCoef = d_inf + (t - t_inf) * velocityCoef; in update()929 mCurrVelocity = velocityCoef * mSplineDistance / mSplineDuration * 1000.0f; in update()