Determine the coefficient of restitution between two colliding objects from their approaching and separating velocities — a measure of how elastic (bouncy) the impact is.
輸入碰撞前後兩物體速度,求恢復係數。