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