Translations:Development/Tutorials/Physical Simulation/76/en

Jump to: navigation, search

The radius defines the radius of the ball, and paintEvent and nextAnimationFrame allow for drawing of the next time frame. The paintEvent, which does the drawing, is called whenever the update() method is called. The nextAnimationFrame only calls all the update methods. (The update method is inherited from QWidget).

This page was last edited on 19 July 2019, at 17:43. Content is available under Creative Commons License SA 4.0 unless otherwise noted.