Engine
/
com.drake.engine.swipeback
/
DecelerateAnimator
/
getDistanceByVelocity
get
Distance
By
Velocity
@
JvmOverloads
()
fun
getDistanceByVelocity
(velocity:
Float
, frictionCoeff:
Float
= 1f):
Float
Content copied to clipboard
根据初速度计算位移
Parameters
velocity
初速度
frictionCoeff
摩擦系数