I am writing a project in OpenGL in C ++.
Given an inclined plane on which the ball rolls and then stops. There is a ball, a plane (there is no problem to draw them). The case is left for small, so that the ball rolls down and stops ... but how to do it? (I know that the formula of attraction must also be applied)
Help me please!