Determine the coefficient of restitution between two colliding objects from their approaching and separating velocities — a measure of how elastic (bouncy) the impact is.
输入碰撞前后两物体速度,求恢复系数。