forked from: 壁に跳ね返るボールのサンプル(重力付き)

垂直方向に重力がある場合の，壁の跳ね返り運動
@author shmdmoto